realview: fix up the phyoffset patch
[openwrt/staging/dedeckeh.git] / target / linux / realview / patches-3.14 / 0001-PHYS_OFFSET.patch
1 Index: linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h
2 ===================================================================
3 --- linux-3.14.25.orig/arch/arm/mach-realview/include/mach/memory.h 2014-11-21 18:23:44.000000000 +0100
4 +++ linux-3.14.25/arch/arm/mach-realview/include/mach/memory.h 2014-12-01 09:07:15.907431483 +0100
5 @@ -29,6 +29,8 @@
6 #define PLAT_PHYS_OFFSET UL(0x00000000)
7 #endif
8
9 +#define PHYS_OFFSET PLAT_PHYS_OFFSET
10 +
11 #ifdef CONFIG_SPARSEMEM
12
13 /*