openwrtv3/target/linux/realview/patches-3.14/0001-PHYS_OFFSET.patch

14 lines
478 B
Diff
Raw Normal View History

Index: linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h
===================================================================
--- linux-3.14.25.orig/arch/arm/mach-realview/include/mach/memory.h 2014-11-21 18:23:44.000000000 +0100
+++ linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h 2014-12-01 09:07:15.907431483 +0100
@@ -29,6 +29,8 @@
#define PLAT_PHYS_OFFSET UL(0x00000000)
#endif
+#define PHYS_OFFSET PLAT_PHYS_OFFSET
+
#ifdef CONFIG_SPARSEMEM
/*