openwrt-owl/target/linux/realview/patches-3.14/0001-PHYS_OFFSET.patch

12 lines
243 B
Diff

--- a/arch/arm/mach-realview/include/mach/memory.h
+++ b/arch/arm/mach-realview/include/mach/memory.h
@@ -29,6 +29,8 @@
#define PLAT_PHYS_OFFSET UL(0x00000000)
#endif
+#define PHYS_OFFSET PLAT_PHYS_OFFSET
+
#ifdef CONFIG_SPARSEMEM
/*