]> Git Repo - linux.git/commit - drivers/xen/grant-table.c
xen/gnttab: Use phys_addr_t to describe the grant frame base address
authorJulien Grall <[email protected]>
Thu, 30 Jan 2014 12:56:34 +0000 (12:56 +0000)
committerStefano Stabellini <[email protected]>
Thu, 30 Jan 2014 12:56:34 +0000 (12:56 +0000)
commit47c542050d306e50f09512eb6339dbf2fc02fddd
tree581ba02825b2cc2bdd36569d50ebfcaa3b83f4e8
parente17b2f114cba5420fb28fa4bfead57d406a16533
xen/gnttab: Use phys_addr_t to describe the grant frame base address

On ARM, address size can be 32 bits or 64 bits (if CONFIG_ARCH_PHYS_ADDR_T_64BIT
is enabled).
We can't assume that the grant frame base address will always fits in an
unsigned long. Use phys_addr_t instead of unsigned long as argument for
gnttab_setup_auto_xlat_frames.

Signed-off-by: Julien Grall <[email protected]>
Signed-off-by: Stefano Stabellini <[email protected]>
Acked-by: Ian Campbell <[email protected]>
Reviewed-by: David Vrabel <[email protected]>
arch/arm/xen/enlighten.c
drivers/xen/grant-table.c
include/xen/grant_table.h
This page took 0.054618 seconds and 4 git commands to generate.