--- zzzz-none-000/linux-4.1.52/arch/mips/include/asm/thread_info.h 2018-05-28 02:26:45.000000000 +0000 +++ bcm63-7530ax-731/linux-4.1.52/arch/mips/include/asm/thread_info.h 2022-03-02 11:37:12.000000000 +0000 @@ -64,8 +64,12 @@ /* thread information allocation */ #if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_32BIT) +#if defined(CONFIG_BCM_KF_THREAD_SIZE_FIX) +#define THREAD_SIZE_ORDER (2) +#else #define THREAD_SIZE_ORDER (1) #endif +#endif #if defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_64BIT) #define THREAD_SIZE_ORDER (2) #endif