--- zzzz-none-000/linux-4.9.276/arch/mips/include/asm/thread_info.h 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/arch/mips/include/asm/thread_info.h 2023-04-05 08:19:00.000000000 +0000 @@ -100,6 +100,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 + #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) #define THREAD_MASK (THREAD_SIZE - 1UL) @@ -120,6 +125,7 @@ #define TIF_UPROBE 6 /* breakpointed or singlestepping */ #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ +#define TIF_YIELDCONTEXT 17 /* If set, we are in non-linux yield-context */ #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ #define TIF_NOHZ 19 /* in adaptive nohz mode */ #define TIF_FIXADE 20 /* Fix address errors in software */ @@ -155,6 +161,7 @@ #define _TIF_USEDMSA (1<