2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/arch/arm/include/asm/xen
Julien Grall 063aa8e68e 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>
2014-04-28 10:31:12 +01:00
..
events.h xen: arm: mandate EABI and use generic atomic operations. 2013-03-11 13:52:19 -04:00
hypercall.h xen/arm and xen/arm64: implement HYPERVISOR_tmem_op 2013-07-04 11:41:12 +00:00
hypervisor.h xen/arm,arm64: enable SWIOTLB_XEN 2013-10-10 13:40:44 +00:00
interface.h xen: arm: implement remap interfaces needed for privcmd mappings. 2012-11-29 14:00:19 +00:00
page-coherent.h xen: introduce xen_dma_map/unmap_page and xen_dma_sync_single_for_cpu/device 2013-10-25 10:39:49 +00:00
page.h arm/xen: Remove definiition of virt_to_pfn in asm/xen/page.h 2014-04-28 10:31:12 +01:00