···7979#define TIF_UAC_SIGBUS 12 /* ! userspace part of 'osf_sysinfo' */8080#define TIF_MEMDIE 13 /* is terminating due to OOM killer */8181#define TIF_RESTORE_SIGMASK 14 /* restore signal mask in do_signal */8282-#define TIF_FREEZE 16 /* is freezing for suspend */83828483#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)8584#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)···8687#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)8788#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)8889#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)8989-#define _TIF_FREEZE (1<<TIF_FREEZE)90909191/* Work to do on interrupt/exception return. */9292#define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \
···8585#define TIF_RESTORE_SIGMASK 7 /* restore signal mask in do_signal */8686#define TIF_CPU_GOING_TO_SLEEP 8 /* CPU is entering sleep 0 mode */8787#define TIF_NOTIFY_RESUME 9 /* callback before returning to user */8888-#define TIF_FREEZE 298988#define TIF_DEBUG 30 /* debugging enabled */9089#define TIF_USERSPACE 31 /* true if FS sets userspace */9190···9798#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)9899#define _TIF_CPU_GOING_TO_SLEEP (1 << TIF_CPU_GOING_TO_SLEEP)99100#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)100100-#define _TIF_FREEZE (1 << TIF_FREEZE)101101102102/* Note: The masks below must never span more than 16 bits! */103103
-2
arch/blackfin/include/asm/thread_info.h
···100100 TIF_NEED_RESCHED */101101#define TIF_MEMDIE 4 /* is terminating due to OOM killer */102102#define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */103103-#define TIF_FREEZE 6 /* is freezing for suspend */104103#define TIF_IRQ_SYNC 7 /* sync pipeline stage */105104#define TIF_NOTIFY_RESUME 8 /* callback before returning to user */106105#define TIF_SINGLESTEP 9···110111#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)111112#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)112113#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)113113-#define _TIF_FREEZE (1<<TIF_FREEZE)114114#define _TIF_IRQ_SYNC (1<<TIF_IRQ_SYNC)115115#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)116116#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP)
-2
arch/cris/include/asm/thread_info.h
···8686#define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */8787#define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */8888#define TIF_MEMDIE 17 /* is terminating due to OOM killer */8989-#define TIF_FREEZE 18 /* is freezing for suspend */90899190#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)9291#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)···9394#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)9495#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)9596#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)9696-#define _TIF_FREEZE (1<<TIF_FREEZE)97979898#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */9999#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */
-2
arch/frv/include/asm/thread_info.h
···111111#define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */112112#define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */113113#define TIF_MEMDIE 17 /* is terminating due to OOM killer */114114-#define TIF_FREEZE 18 /* freezing for suspend */115114116115#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)117116#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)···119120#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)120121#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)121122#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)122122-#define _TIF_FREEZE (1 << TIF_FREEZE)123123124124#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */125125#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */
-2
arch/h8300/include/asm/thread_info.h
···9090#define TIF_MEMDIE 4 /* is terminating due to OOM killer */9191#define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */9292#define TIF_NOTIFY_RESUME 6 /* callback before returning to user */9393-#define TIF_FREEZE 16 /* is freezing for suspend */94939594/* as above, but as bit values */9695#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)···9899#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)99100#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)100101#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)101101-#define _TIF_FREEZE (1<<TIF_FREEZE)102102103103#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */104104
-2
arch/ia64/include/asm/thread_info.h
···113113#define TIF_MEMDIE 17 /* is terminating due to OOM killer */114114#define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */115115#define TIF_DB_DISABLED 19 /* debug trap disabled for fsyscall */116116-#define TIF_FREEZE 20 /* is freezing for suspend */117116#define TIF_RESTORE_RSE 21 /* user RBS is newer than kernel RBS */118117119118#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)···125126#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)126127#define _TIF_MCA_INIT (1 << TIF_MCA_INIT)127128#define _TIF_DB_DISABLED (1 << TIF_DB_DISABLED)128128-#define _TIF_FREEZE (1 << TIF_FREEZE)129129#define _TIF_RESTORE_RSE (1 << TIF_RESTORE_RSE)130130131131/* "work to do on user-return" bits */
-2
arch/m32r/include/asm/thread_info.h
···138138#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */139139#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */140140#define TIF_MEMDIE 18 /* is terminating due to OOM killer */141141-#define TIF_FREEZE 19 /* is freezing for suspend */142141143142#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)144143#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)···148149#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)149150#define _TIF_USEDFPU (1<<TIF_USEDFPU)150151#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)151151-#define _TIF_FREEZE (1<<TIF_FREEZE)152152153153#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */154154#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */
-1
arch/m68k/include/asm/thread_info.h
···103103#define TIF_DELAYED_TRACE 14 /* single step a syscall */104104#define TIF_SYSCALL_TRACE 15 /* syscall trace active */105105#define TIF_MEMDIE 16 /* is terminating due to OOM killer */106106-#define TIF_FREEZE 17 /* thread is freezing for suspend */107106#define TIF_RESTORE_SIGMASK 18 /* restore signal mask in do_signal */108107109108#endif /* _ASM_M68K_THREAD_INFO_H */
-2
arch/microblaze/include/asm/thread_info.h
···125125#define TIF_MEMDIE 6 /* is terminating due to OOM killer */126126#define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */127127#define TIF_SECCOMP 10 /* secure computing */128128-#define TIF_FREEZE 14 /* Freezing for suspend */129128130129/* true if poll_idle() is polling TIF_NEED_RESCHED */131130#define TIF_POLLING_NRFLAG 16···136137#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)137138#define _TIF_IRET (1 << TIF_IRET)138139#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)139139-#define _TIF_FREEZE (1 << TIF_FREEZE)140140#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT)141141#define _TIF_SECCOMP (1 << TIF_SECCOMP)142142
-2
arch/mips/include/asm/thread_info.h
···117117#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */118118#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */119119#define TIF_MEMDIE 18 /* is terminating due to OOM killer */120120-#define TIF_FREEZE 19121120#define TIF_FIXADE 20 /* Fix address errors in software */122121#define TIF_LOGADE 21 /* Log address errors to syslog */123122#define TIF_32BIT_REGS 22 /* also implies 16/32 fprs */···140141#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)141142#define _TIF_USEDFPU (1<<TIF_USEDFPU)142143#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)143143-#define _TIF_FREEZE (1<<TIF_FREEZE)144144#define _TIF_FIXADE (1<<TIF_FIXADE)145145#define _TIF_LOGADE (1<<TIF_LOGADE)146146#define _TIF_32BIT_REGS (1<<TIF_32BIT_REGS)
-2
arch/mn10300/include/asm/thread_info.h
···165165#define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */166166#define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */167167#define TIF_MEMDIE 17 /* is terminating due to OOM killer */168168-#define TIF_FREEZE 18 /* freezing for suspend */169168170169#define _TIF_SYSCALL_TRACE +(1 << TIF_SYSCALL_TRACE)171170#define _TIF_NOTIFY_RESUME +(1 << TIF_NOTIFY_RESUME)···173174#define _TIF_SINGLESTEP +(1 << TIF_SINGLESTEP)174175#define _TIF_RESTORE_SIGMASK +(1 << TIF_RESTORE_SIGMASK)175176#define _TIF_POLLING_NRFLAG +(1 << TIF_POLLING_NRFLAG)176176-#define _TIF_FREEZE +(1 << TIF_FREEZE)177177178178#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */179179#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */
-2
arch/parisc/include/asm/thread_info.h
···5858#define TIF_32BIT 4 /* 32 bit binary */5959#define TIF_MEMDIE 5 /* is terminating due to OOM killer */6060#define TIF_RESTORE_SIGMASK 6 /* restore saved signal mask */6161-#define TIF_FREEZE 7 /* is freezing for suspend */6261#define TIF_NOTIFY_RESUME 8 /* callback before returning to user */6362#define TIF_SINGLESTEP 9 /* single stepping? */6463#define TIF_BLOCKSTEP 10 /* branch stepping? */···6869#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)6970#define _TIF_32BIT (1 << TIF_32BIT)7071#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)7171-#define _TIF_FREEZE (1 << TIF_FREEZE)7272#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)7373#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)7474#define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP)
-2
arch/powerpc/include/asm/thread_info.h
···109109#define TIF_RESTOREALL 11 /* Restore all regs (implies NOERROR) */110110#define TIF_NOERROR 12 /* Force successful syscall return */111111#define TIF_NOTIFY_RESUME 13 /* callback before returning to user */112112-#define TIF_FREEZE 14 /* Freezing for suspend */113112#define TIF_SYSCALL_TRACEPOINT 15 /* syscall tracepoint instrumentation */114113#define TIF_RUNLATCH 16 /* Is the runlatch enabled? */115114···126127#define _TIF_RESTOREALL (1<<TIF_RESTOREALL)127128#define _TIF_NOERROR (1<<TIF_NOERROR)128129#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)129129-#define _TIF_FREEZE (1<<TIF_FREEZE)130130#define _TIF_SYSCALL_TRACEPOINT (1<<TIF_SYSCALL_TRACEPOINT)131131#define _TIF_RUNLATCH (1<<TIF_RUNLATCH)132132#define _TIF_SYSCALL_T_OR_A (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT | \
-2
arch/s390/include/asm/thread_info.h
···102102#define TIF_MEMDIE 18 /* is terminating due to OOM killer */103103#define TIF_RESTORE_SIGMASK 19 /* restore signal mask in do_signal() */104104#define TIF_SINGLE_STEP 20 /* This task is single stepped */105105-#define TIF_FREEZE 21 /* thread is freezing for suspend */106105107106#define _TIF_SYSCALL (1<<TIF_SYSCALL)108107#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)···118119#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)119120#define _TIF_31BIT (1<<TIF_31BIT)120121#define _TIF_SINGLE_STEP (1<<TIF_SINGLE_STEP)121121-#define _TIF_FREEZE (1<<TIF_FREEZE)122122123123#ifdef CONFIG_64BIT124124#define is_32bit_task() (test_thread_flag(TIF_31BIT))
-2
arch/sh/include/asm/thread_info.h
···122122#define TIF_SYSCALL_TRACEPOINT 8 /* for ftrace syscall instrumentation */123123#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */124124#define TIF_MEMDIE 18 /* is terminating due to OOM killer */125125-#define TIF_FREEZE 19 /* Freezing for suspend */126125127126#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)128127#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)···132133#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)133134#define _TIF_SYSCALL_TRACEPOINT (1 << TIF_SYSCALL_TRACEPOINT)134135#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)135135-#define _TIF_FREEZE (1 << TIF_FREEZE)136136137137/*138138 * _TIF_ALLWORK_MASK and _TIF_WORK_MASK need to fit within 2 bytes, or we
-2
arch/sparc/include/asm/thread_info_32.h
···133133#define TIF_POLLING_NRFLAG 9 /* true if poll_idle() is polling134134 * TIF_NEED_RESCHED */135135#define TIF_MEMDIE 10 /* is terminating due to OOM killer */136136-#define TIF_FREEZE 11 /* is freezing for suspend */137136138137/* as above, but as bit values */139138#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)···146147#define _TIF_DO_NOTIFY_RESUME_MASK (_TIF_NOTIFY_RESUME | \147148 _TIF_SIGPENDING | \148149 _TIF_RESTORE_SIGMASK)149149-#define _TIF_FREEZE (1<<TIF_FREEZE)150150151151#endif /* __KERNEL__ */152152
-2
arch/sparc/include/asm/thread_info_64.h
···225225/* flag bit 12 is available */226226#define TIF_MEMDIE 13 /* is terminating due to OOM killer */227227#define TIF_POLLING_NRFLAG 14228228-#define TIF_FREEZE 15 /* is freezing for suspend */229228230229#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)231230#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)···236237#define _TIF_SYSCALL_AUDIT (1<<TIF_SYSCALL_AUDIT)237238#define _TIF_SYSCALL_TRACEPOINT (1<<TIF_SYSCALL_TRACEPOINT)238239#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)239239-#define _TIF_FREEZE (1<<TIF_FREEZE)240240241241#define _TIF_USER_WORK_MASK ((0xff << TI_FLAG_WSAVED_SHIFT) | \242242 _TIF_DO_NOTIFY_RESUME_MASK | \
-2
arch/um/include/asm/thread_info.h
···7171#define TIF_MEMDIE 5 /* is terminating due to OOM killer */7272#define TIF_SYSCALL_AUDIT 67373#define TIF_RESTORE_SIGMASK 77474-#define TIF_FREEZE 16 /* is freezing for suspend */75747675#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)7776#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)···7980#define _TIF_MEMDIE (1 << TIF_MEMDIE)8081#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT)8182#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)8282-#define _TIF_FREEZE (1 << TIF_FREEZE)83838484#endif
···9090#define TIF_MEMDIE 20 /* is terminating due to OOM killer */9191#define TIF_DEBUG 21 /* uses debug registers */9292#define TIF_IO_BITMAP 22 /* uses I/O bitmap */9393-#define TIF_FREEZE 23 /* is freezing for suspend */9493#define TIF_FORCED_TF 24 /* true if TF in eflags artificially */9594#define TIF_BLOCKSTEP 25 /* set when we want DEBUGCTLMSR_BTF */9695#define TIF_LAZY_MMU_UPDATES 27 /* task is updating the mmu lazily */···111112#define _TIF_FORK (1 << TIF_FORK)112113#define _TIF_DEBUG (1 << TIF_DEBUG)113114#define _TIF_IO_BITMAP (1 << TIF_IO_BITMAP)114114-#define _TIF_FREEZE (1 << TIF_FREEZE)115115#define _TIF_FORCED_TF (1 << TIF_FORCED_TF)116116#define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP)117117#define _TIF_LAZY_MMU_UPDATES (1 << TIF_LAZY_MMU_UPDATES)
-2
arch/xtensa/include/asm/thread_info.h
···132132#define TIF_MEMDIE 5 /* is terminating due to OOM killer */133133#define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */134134#define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */135135-#define TIF_FREEZE 17 /* is freezing for suspend */136135137136#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)138137#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)···140141#define _TIF_IRET (1<<TIF_IRET)141142#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)142143#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)143143-#define _TIF_FREEZE (1<<TIF_FREEZE)144144145145#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */146146#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */