307-mips_highmem_offset.patch 627 B

12345678910111213141516171819
  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. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  4. ---
  5. arch/mips/include/asm/mach-generic/spaces.h | 2 +-
  6. 1 file changed, 1 insertion(+), 1 deletion(-)
  7. --- a/arch/mips/include/asm/mach-generic/spaces.h
  8. +++ b/arch/mips/include/asm/mach-generic/spaces.h
  9. @@ -46,7 +46,7 @@
  10. * Memory above this physical address will be considered highmem.
  11. */
  12. #ifndef HIGHMEM_START
  13. -#define HIGHMEM_START _AC(0x20000000, UL)
  14. +#define HIGHMEM_START _AC(0x10000000, UL)
  15. #endif
  16. #endif /* CONFIG_32BIT */