aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r--arch/arm/mach-realview/include/mach/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/include/mach/memory.h b/arch/arm/mach-realview/include/mach/memory.h
index 2022e092f0ca..db09170e3832 100644
--- a/arch/arm/mach-realview/include/mach/memory.h
+++ b/arch/arm/mach-realview/include/mach/memory.h
@@ -56,6 +56,8 @@
56#define PAGE_OFFSET1 (PAGE_OFFSET + 0x10000000) 56#define PAGE_OFFSET1 (PAGE_OFFSET + 0x10000000)
57#define PAGE_OFFSET2 (PAGE_OFFSET + 0x30000000) 57#define PAGE_OFFSET2 (PAGE_OFFSET + 0x30000000)
58 58
59#define PHYS_OFFSET PLAT_PHYS_OFFSET
60
59#define __phys_to_virt(phys) \ 61#define __phys_to_virt(phys) \
60 ((phys) >= 0x80000000 ? (phys) - 0x80000000 + PAGE_OFFSET2 : \ 62 ((phys) >= 0x80000000 ? (phys) - 0x80000000 + PAGE_OFFSET2 : \
61 (phys) >= 0x20000000 ? (phys) - 0x20000000 + PAGE_OFFSET1 : \ 63 (phys) >= 0x20000000 ? (phys) - 0x20000000 + PAGE_OFFSET1 : \