--- zzzz-none-000/linux-4.9.276/arch/mips/include/asm/pgtable-32.h 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/arch/mips/include/asm/pgtable-32.h 2023-04-05 08:19:00.000000000 +0000 @@ -68,11 +68,13 @@ #define PKMAP_END ((FIXADDR_START) & ~((LAST_PKMAP << PAGE_SHIFT)-1)) #define PKMAP_BASE (PKMAP_END - PAGE_SIZE * LAST_PKMAP) +#ifndef VMALLOC_END #ifdef CONFIG_HIGHMEM # define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE) #else # define VMALLOC_END (FIXADDR_START-2*PAGE_SIZE) #endif +#endif #ifdef CONFIG_PHYS_ADDR_T_64BIT #define pte_ERROR(e) \