b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 */ |