blob: 9dd2fa986328fb6cfb5832d84a6dd87743316267 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From: Felix Fietkau <nbd@nbd.name>
2Subject: kernel: adjust mips highmem offset to avoid the need for -mlong-calls on systems with >256M RAM
3
4Signed-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 */