ia64/xen-unstable

changeset 11094:d4c9a653907b

[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@watson.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@localhost.localdomain
date Sun Aug 13 19:10:57 2006 +0100 (2006-08-13)
parents 1fcc31985898
children c0a3f670d0d6
files xen/common/grant_table.c
line diff
     1.1 --- a/xen/common/grant_table.c	Sun Aug 13 19:00:19 2006 +0100
     1.2 +++ b/xen/common/grant_table.c	Sun Aug 13 19:10:57 2006 +0100
     1.3 @@ -30,6 +30,7 @@
     1.4  #include <xen/mm.h>
     1.5  #include <xen/trace.h>
     1.6  #include <xen/guest_access.h>
     1.7 +#include <xen/domain_page.h>
     1.8  #include <acm/acm_hooks.h>
     1.9  
    1.10  #define PIN_FAIL(_lbl, _rc, _f, _a...)          \
    1.11 @@ -818,7 +819,7 @@ static void
    1.12  {
    1.13      struct domain *sd = NULL, *dd = NULL;
    1.14      unsigned long s_frame, d_frame;
    1.15 -    void *sp, *dp;
    1.16 +    char *sp, *dp;
    1.17      s16 rc = GNTST_okay;
    1.18      int have_d_grant = 0, have_s_grant = 0;
    1.19