mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
[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>
This commit is contained in:
1 parent
6bc01e4efd
commit
adf74ce752
1 file changed
+3
-2
@@ -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)
|
||||
|
||||