ia64/xen-unstable

changeset 12258:d150a2178bd4

[LINUX] Don't use uint64_t parameter to gnttab_set_{,un}map_op() when
the upper 32 bits will never be used (i.e., i386 non-pae).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Mon Nov 06 09:02:15 2006 +0000 (2006-11-06)
parents 2368e779f89f
children 31985f348d2e
files linux-2.6-xen-sparse/include/xen/gnttab.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/xen/gnttab.h	Sun Nov 05 20:17:40 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/include/xen/gnttab.h	Mon Nov 06 09:02:15 2006 +0000
     1.3 @@ -38,6 +38,7 @@
     1.4  #define __ASM_GNTTAB_H__
     1.5  
     1.6  #include <linux/config.h>
     1.7 +#include <linux/mm.h>
     1.8  #include <asm/hypervisor.h>
     1.9  #include <xen/interface/grant_table.h>
    1.10  #include <xen/features.h>
    1.11 @@ -118,7 +119,7 @@ int gnttab_suspend(void);
    1.12  int gnttab_resume(void);
    1.13  
    1.14  static inline void
    1.15 -gnttab_set_map_op(struct gnttab_map_grant_ref *map, uint64_t addr,
    1.16 +gnttab_set_map_op(struct gnttab_map_grant_ref *map, maddr_t addr,
    1.17  		  uint32_t flags, grant_ref_t ref, domid_t domid)
    1.18  {
    1.19  	if (flags & GNTMAP_contains_pte)
    1.20 @@ -134,7 +135,7 @@ gnttab_set_map_op(struct gnttab_map_gran
    1.21  }
    1.22  
    1.23  static inline void
    1.24 -gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, uint64_t addr,
    1.25 +gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, maddr_t addr,
    1.26  		    uint32_t flags, grant_handle_t handle)
    1.27  {
    1.28  	if (flags & GNTMAP_contains_pte)