[LINUX] Don't use uint64_t parameter to gnttab_set_{,un}map_op() when
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 6 Nov 2006 09:02:15 +0000 (09:02 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 6 Nov 2006 09:02:15 +0000 (09:02 +0000)
the upper 32 bits will never be used (i.e., i386 non-pae).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
linux-2.6-xen-sparse/include/xen/gnttab.h

index c710140ee77d3ab5f6d51878d975db2bf27e2bc8..3f645658048426ceb690ae1563b80a5f0f481c4c 100644 (file)
@@ -38,6 +38,7 @@
 #define __ASM_GNTTAB_H__
 
 #include <linux/config.h>
+#include <linux/mm.h>
 #include <asm/hypervisor.h>
 #include <xen/interface/grant_table.h>
 #include <xen/features.h>
@@ -118,7 +119,7 @@ int gnttab_suspend(void);
 int gnttab_resume(void);
 
 static inline void
-gnttab_set_map_op(struct gnttab_map_grant_ref *map, uint64_t addr,
+gnttab_set_map_op(struct gnttab_map_grant_ref *map, maddr_t addr,
                  uint32_t flags, grant_ref_t ref, domid_t domid)
 {
        if (flags & GNTMAP_contains_pte)
@@ -134,7 +135,7 @@ gnttab_set_map_op(struct gnttab_map_grant_ref *map, uint64_t addr,
 }
 
 static inline void
-gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, uint64_t addr,
+gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, maddr_t addr,
                    uint32_t flags, grant_handle_t handle)
 {
        if (flags & GNTMAP_contains_pte)