diff options
Diffstat (limited to 'arch/arm/include/asm/memory.h')
-rw-r--r-- | arch/arm/include/asm/memory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 6748d6295a1a..4dd21457ef9d 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h | |||
@@ -174,7 +174,6 @@ | |||
174 | #define __PV_BITS_31_24 0x81000000 | 174 | #define __PV_BITS_31_24 0x81000000 |
175 | #define __PV_BITS_7_0 0x81 | 175 | #define __PV_BITS_7_0 0x81 |
176 | 176 | ||
177 | extern phys_addr_t (*arch_virt_to_idmap) (unsigned long x); | ||
178 | extern u64 __pv_phys_offset; | 177 | extern u64 __pv_phys_offset; |
179 | extern u64 __pv_offset; | 178 | extern u64 __pv_offset; |
180 | extern void fixup_pv_table(const void *, unsigned long); | 179 | extern void fixup_pv_table(const void *, unsigned long); |
@@ -290,6 +289,8 @@ static inline void *phys_to_virt(phys_addr_t x) | |||
290 | #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) | 289 | #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) |
291 | #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) | 290 | #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) |
292 | 291 | ||
292 | extern phys_addr_t (*arch_virt_to_idmap)(unsigned long x); | ||
293 | |||
293 | /* | 294 | /* |
294 | * These are for systems that have a hardware interconnect supported alias of | 295 | * These are for systems that have a hardware interconnect supported alias of |
295 | * physical memory for idmap purposes. Most cases should leave these | 296 | * physical memory for idmap purposes. Most cases should leave these |