--- zzzz-none-000/linux-4.1.38/arch/mips/include/asm/thread_info.h 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/arch/mips/include/asm/thread_info.h 2020-11-25 10:06:48.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