]> Pileus Git - ~andy/linux/blobdiff - arch/arm/include/asm/memory.h
ARM: fix misplaced arch_virt_to_idmap()
[~andy/linux] / arch / arm / include / asm / memory.h
index 6748d6295a1a07ec23738d660dafb88489f99595..4dd21457ef9d2be8b1c94cac7eea97c8ef8cc1f6 100644 (file)
 #define __PV_BITS_31_24        0x81000000
 #define __PV_BITS_7_0  0x81
 
-extern phys_addr_t (*arch_virt_to_idmap) (unsigned long x);
 extern u64 __pv_phys_offset;
 extern u64 __pv_offset;
 extern void fixup_pv_table(const void *, unsigned long);
@@ -290,6 +289,8 @@ static inline void *phys_to_virt(phys_addr_t x)
 #define __va(x)                        ((void *)__phys_to_virt((phys_addr_t)(x)))
 #define pfn_to_kaddr(pfn)      __va((pfn) << PAGE_SHIFT)
 
+extern phys_addr_t (*arch_virt_to_idmap)(unsigned long x);
+
 /*
  * These are for systems that have a hardware interconnect supported alias of
  * physical memory for idmap purposes.  Most cases should leave these