[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Explicitly include domain_page.h for map_domain_page() and fix a
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxxx # Node ID d4c9a653907ba8d9ef0fa6d4fdf741025c60491a # Parent 1fcc31985898c690e97d0cec493c59994c342f69 [XEN] Explicitly include domain_page.h for map_domain_page() and fix a warning about arithmetic on 'void *' pointers. Based on a patch from Jimi Xenidis <jimix@xxxxxxxxxxxxxx> Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/common/grant_table.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 1fcc31985898 -r d4c9a653907b xen/common/grant_table.c --- a/xen/common/grant_table.c Sun Aug 13 19:00:19 2006 +0100 +++ b/xen/common/grant_table.c Sun Aug 13 19:10:57 2006 +0100 @@ -30,6 +30,7 @@ #include <xen/mm.h> #include <xen/trace.h> #include <xen/guest_access.h> +#include <xen/domain_page.h> #include <acm/acm_hooks.h> #define PIN_FAIL(_lbl, _rc, _f, _a...) \ @@ -818,7 +819,7 @@ __gnttab_copy( { struct domain *sd = NULL, *dd = NULL; unsigned long s_frame, d_frame; - void *sp, *dp; + char *sp, *dp; s16 rc = GNTST_okay; int have_d_grant = 0, have_s_grant = 0; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |