--- zzzz-none-000/linux-2.6.28.10/arch/mips/include/asm/thread_info.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/arch/mips/include/asm/thread_info.h 2010-04-26 08:47:11.000000000 +0000 @@ -79,6 +79,11 @@ #define THREAD_SIZE_ORDER (0) #endif +#ifdef CONFIG_THREAD_SIZE_ORDER +#undef THREAD_SIZE_ORDER +#define THREAD_SIZE_ORDER (CONFIG_THREAD_SIZE_ORDER) +#endif /*--- #ifdef CONFIG_THREAD_SIZE_ORDER ---*/ + #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) #define THREAD_MASK (THREAD_SIZE - 1UL)