aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2014-04-18 16:54:34 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2014-04-28 10:31:12 +0100
commit063aa8e68e53cc0d0961ea90c12cea40c6b94828 (patch)
treeae5f1e2d2c122a442237be6612fb79c4493e4e63 /drivers/xen
parentMerge commit 'e26a9e0' into stable/for-linus-3.15 (diff)
downloadlinux-dev-063aa8e68e53cc0d0961ea90c12cea40c6b94828.tar.xz
linux-dev-063aa8e68e53cc0d0961ea90c12cea40c6b94828.zip
arm/xen: Remove definiition of virt_to_pfn in asm/xen/page.h
virt_to_pfn has been defined in asm/memory.h by the commit e26a9e0 "ARM: Better virt_to_page() handling" This will result of a compilation warning when CONFIG_XEN is enabled. arch/arm/include/asm/xen/page.h:80:0: warning: "virt_to_pfn" redefined [enabled by default] #define virt_to_pfn(v) (PFN_DOWN(__pa(v))) ^ In file included from arch/arm/include/asm/page.h:163:0, from arch/arm/include/asm/xen/page.h:4, from include/xen/page.h:4, from arch/arm/xen/grant-table.c:33: The definition in memory.h is nearly the same (it directly expand PFN_DOWN), so we can safely drop virt_to_pfn in xen include. Signed-off-by: Julien Grall <julien.grall@linaro.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions