kernel: Make the patches apply on top of 4.19
[openwrt/staging/wigyori.git] / target / linux / generic / pending-4.19 / 307-mips_highmem_offset.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Subject: kernel: adjust mips highmem offset to avoid the need for -mlong-calls on systems with >256M RAM
3
4 Signed-off-by: Felix Fietkau <nbd@nbd.name>
5 ---
6 arch/mips/include/asm/mach-generic/spaces.h | 2 +-
7 1 file changed, 1 insertion(+), 1 deletion(-)
8
9 --- a/arch/mips/include/asm/mach-generic/spaces.h
10 +++ b/arch/mips/include/asm/mach-generic/spaces.h
11 @@ -50,7 +50,7 @@
12 * Memory above this physical address will be considered highmem.
13 */
14 #ifndef HIGHMEM_START
15 -#define HIGHMEM_START _AC(0x20000000, UL)
16 +#define HIGHMEM_START _AC(0x10000000, UL)
17 #endif
18
19 #endif /* CONFIG_32BIT */