diff options
24 files changed, 26 insertions, 27 deletions
diff --git a/arch/alpha/include/asm/thread_info.h b/arch/alpha/include/asm/thread_info.h index b3e888638bb7..6f32f9c84a2d 100644 --- a/arch/alpha/include/asm/thread_info.h +++ b/arch/alpha/include/asm/thread_info.h | |||
@@ -77,7 +77,7 @@ register struct thread_info *__current_thread_info __asm__("$8"); | |||
77 | #define TIF_UAC_NOPRINT 10 /* see sysinfo.h */ | 77 | #define TIF_UAC_NOPRINT 10 /* see sysinfo.h */ |
78 | #define TIF_UAC_NOFIX 11 | 78 | #define TIF_UAC_NOFIX 11 |
79 | #define TIF_UAC_SIGBUS 12 | 79 | #define TIF_UAC_SIGBUS 12 |
80 | #define TIF_MEMDIE 13 | 80 | #define TIF_MEMDIE 13 /* is terminating due to OOM killer */ |
81 | #define TIF_RESTORE_SIGMASK 14 /* restore signal mask in do_signal */ | 81 | #define TIF_RESTORE_SIGMASK 14 /* restore signal mask in do_signal */ |
82 | #define TIF_FREEZE 16 /* is freezing for suspend */ | 82 | #define TIF_FREEZE 16 /* is freezing for suspend */ |
83 | 83 | ||
diff --git a/arch/arm/include/asm/thread_info.h b/arch/arm/include/asm/thread_info.h index b74970ec02c4..763e29fa8530 100644 --- a/arch/arm/include/asm/thread_info.h +++ b/arch/arm/include/asm/thread_info.h | |||
@@ -141,7 +141,7 @@ extern void vfp_flush_hwstate(struct thread_info *); | |||
141 | #define TIF_SYSCALL_TRACE 8 | 141 | #define TIF_SYSCALL_TRACE 8 |
142 | #define TIF_POLLING_NRFLAG 16 | 142 | #define TIF_POLLING_NRFLAG 16 |
143 | #define TIF_USING_IWMMXT 17 | 143 | #define TIF_USING_IWMMXT 17 |
144 | #define TIF_MEMDIE 18 | 144 | #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ |
145 | #define TIF_FREEZE 19 | 145 | #define TIF_FREEZE 19 |
146 | #define TIF_RESTORE_SIGMASK 20 | 146 | #define TIF_RESTORE_SIGMASK 20 |
147 | 147 | ||
diff --git a/arch/avr32/include/asm/thread_info.h b/arch/avr32/include/asm/thread_info.h index fd0c5d7e9337..7a9c03dcb0b6 100644 --- a/arch/avr32/include/asm/thread_info.h +++ b/arch/avr32/include/asm/thread_info.h | |||
@@ -81,7 +81,7 @@ static inline struct thread_info *current_thread_info(void) | |||
81 | TIF_NEED_RESCHED */ | 81 | TIF_NEED_RESCHED */ |
82 | #define TIF_BREAKPOINT 4 /* enter monitor mode on return */ | 82 | #define TIF_BREAKPOINT 4 /* enter monitor mode on return */ |
83 | #define TIF_SINGLE_STEP 5 /* single step in progress */ | 83 | #define TIF_SINGLE_STEP 5 /* single step in progress */ |
84 | #define TIF_MEMDIE 6 | 84 | #define TIF_MEMDIE 6 /* is terminating due to OOM killer */ |
85 | #define TIF_RESTORE_SIGMASK 7 /* restore signal mask in do_signal */ | 85 | #define TIF_RESTORE_SIGMASK 7 /* restore signal mask in do_signal */ |
86 | #define TIF_CPU_GOING_TO_SLEEP 8 /* CPU is entering sleep 0 mode */ | 86 | #define TIF_CPU_GOING_TO_SLEEP 8 /* CPU is entering sleep 0 mode */ |
87 | #define TIF_NOTIFY_RESUME 9 /* callback before returning to user */ | 87 | #define TIF_NOTIFY_RESUME 9 /* callback before returning to user */ |
diff --git a/arch/blackfin/include/asm/thread_info.h b/arch/blackfin/include/asm/thread_info.h index e9a5614cdbb1..02560fd8a121 100644 --- a/arch/blackfin/include/asm/thread_info.h +++ b/arch/blackfin/include/asm/thread_info.h | |||
@@ -98,7 +98,7 @@ static inline struct thread_info *current_thread_info(void) | |||
98 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ | 98 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ |
99 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling | 99 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling |
100 | TIF_NEED_RESCHED */ | 100 | TIF_NEED_RESCHED */ |
101 | #define TIF_MEMDIE 4 | 101 | #define TIF_MEMDIE 4 /* is terminating due to OOM killer */ |
102 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ | 102 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ |
103 | #define TIF_FREEZE 6 /* is freezing for suspend */ | 103 | #define TIF_FREEZE 6 /* is freezing for suspend */ |
104 | #define TIF_IRQ_SYNC 7 /* sync pipeline stage */ | 104 | #define TIF_IRQ_SYNC 7 /* sync pipeline stage */ |
diff --git a/arch/cris/include/asm/thread_info.h b/arch/cris/include/asm/thread_info.h index c3aade36c330..91776069ca80 100644 --- a/arch/cris/include/asm/thread_info.h +++ b/arch/cris/include/asm/thread_info.h | |||
@@ -85,7 +85,7 @@ struct thread_info { | |||
85 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ | 85 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ |
86 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ | 86 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ |
87 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 87 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
88 | #define TIF_MEMDIE 17 | 88 | #define TIF_MEMDIE 17 /* is terminating due to OOM killer */ |
89 | #define TIF_FREEZE 18 /* is freezing for suspend */ | 89 | #define TIF_FREEZE 18 /* is freezing for suspend */ |
90 | 90 | ||
91 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 91 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
diff --git a/arch/frv/include/asm/thread_info.h b/arch/frv/include/asm/thread_info.h index e608e056bb53..11f33ead29bf 100644 --- a/arch/frv/include/asm/thread_info.h +++ b/arch/frv/include/asm/thread_info.h | |||
@@ -113,7 +113,7 @@ register struct thread_info *__current_thread_info asm("gr15"); | |||
113 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ | 113 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ |
114 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ | 114 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ |
115 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 115 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
116 | #define TIF_MEMDIE 17 /* OOM killer killed process */ | 116 | #define TIF_MEMDIE 17 /* is terminating due to OOM killer */ |
117 | #define TIF_FREEZE 18 /* freezing for suspend */ | 117 | #define TIF_FREEZE 18 /* freezing for suspend */ |
118 | 118 | ||
119 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) | 119 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) |
diff --git a/arch/h8300/include/asm/thread_info.h b/arch/h8300/include/asm/thread_info.h index 70e67e47d020..d6f1784bfdee 100644 --- a/arch/h8300/include/asm/thread_info.h +++ b/arch/h8300/include/asm/thread_info.h | |||
@@ -87,7 +87,7 @@ static inline struct thread_info *current_thread_info(void) | |||
87 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ | 87 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ |
88 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling | 88 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling |
89 | TIF_NEED_RESCHED */ | 89 | TIF_NEED_RESCHED */ |
90 | #define TIF_MEMDIE 4 | 90 | #define TIF_MEMDIE 4 /* is terminating due to OOM killer */ |
91 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ | 91 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ |
92 | #define TIF_NOTIFY_RESUME 6 /* callback before returning to user */ | 92 | #define TIF_NOTIFY_RESUME 6 /* callback before returning to user */ |
93 | #define TIF_FREEZE 16 /* is freezing for suspend */ | 93 | #define TIF_FREEZE 16 /* is freezing for suspend */ |
diff --git a/arch/ia64/include/asm/thread_info.h b/arch/ia64/include/asm/thread_info.h index 8ce2e388e37c..b6a5ba2aca34 100644 --- a/arch/ia64/include/asm/thread_info.h +++ b/arch/ia64/include/asm/thread_info.h | |||
@@ -102,7 +102,7 @@ struct thread_info { | |||
102 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ | 102 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ |
103 | #define TIF_NOTIFY_RESUME 6 /* resumption notification requested */ | 103 | #define TIF_NOTIFY_RESUME 6 /* resumption notification requested */ |
104 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 104 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
105 | #define TIF_MEMDIE 17 | 105 | #define TIF_MEMDIE 17 /* is terminating due to OOM killer */ |
106 | #define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */ | 106 | #define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */ |
107 | #define TIF_DB_DISABLED 19 /* debug trap disabled for fsyscall */ | 107 | #define TIF_DB_DISABLED 19 /* debug trap disabled for fsyscall */ |
108 | #define TIF_FREEZE 20 /* is freezing for suspend */ | 108 | #define TIF_FREEZE 20 /* is freezing for suspend */ |
diff --git a/arch/m32r/include/asm/thread_info.h b/arch/m32r/include/asm/thread_info.h index ed240b6e8e77..71faff5bcc27 100644 --- a/arch/m32r/include/asm/thread_info.h +++ b/arch/m32r/include/asm/thread_info.h | |||
@@ -142,7 +142,7 @@ static inline unsigned int get_thread_fault_code(void) | |||
142 | #define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */ | 142 | #define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */ |
143 | #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ | 143 | #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ |
144 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 144 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
145 | #define TIF_MEMDIE 18 /* OOM killer killed process */ | 145 | #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ |
146 | #define TIF_FREEZE 19 /* is freezing for suspend */ | 146 | #define TIF_FREEZE 19 /* is freezing for suspend */ |
147 | 147 | ||
148 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 148 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
diff --git a/arch/m68k/include/asm/thread_info_mm.h b/arch/m68k/include/asm/thread_info_mm.h index 67266c683453..3bf31dc51b12 100644 --- a/arch/m68k/include/asm/thread_info_mm.h +++ b/arch/m68k/include/asm/thread_info_mm.h | |||
@@ -65,7 +65,7 @@ struct thread_info { | |||
65 | #define TIF_NEED_RESCHED 7 /* rescheduling necessary */ | 65 | #define TIF_NEED_RESCHED 7 /* rescheduling necessary */ |
66 | #define TIF_DELAYED_TRACE 14 /* single step a syscall */ | 66 | #define TIF_DELAYED_TRACE 14 /* single step a syscall */ |
67 | #define TIF_SYSCALL_TRACE 15 /* syscall trace active */ | 67 | #define TIF_SYSCALL_TRACE 15 /* syscall trace active */ |
68 | #define TIF_MEMDIE 16 | 68 | #define TIF_MEMDIE 16 /* is terminating due to OOM killer */ |
69 | #define TIF_FREEZE 17 /* thread is freezing for suspend */ | 69 | #define TIF_FREEZE 17 /* thread is freezing for suspend */ |
70 | 70 | ||
71 | #endif /* _ASM_M68K_THREAD_INFO_H */ | 71 | #endif /* _ASM_M68K_THREAD_INFO_H */ |
diff --git a/arch/m68k/include/asm/thread_info_no.h b/arch/m68k/include/asm/thread_info_no.h index 884776f686ca..51f354b672e6 100644 --- a/arch/m68k/include/asm/thread_info_no.h +++ b/arch/m68k/include/asm/thread_info_no.h | |||
@@ -85,7 +85,7 @@ static inline struct thread_info *current_thread_info(void) | |||
85 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ | 85 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ |
86 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling | 86 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling |
87 | TIF_NEED_RESCHED */ | 87 | TIF_NEED_RESCHED */ |
88 | #define TIF_MEMDIE 4 | 88 | #define TIF_MEMDIE 4 /* is terminating due to OOM killer */ |
89 | #define TIF_FREEZE 16 /* is freezing for suspend */ | 89 | #define TIF_FREEZE 16 /* is freezing for suspend */ |
90 | 90 | ||
91 | /* as above, but as bit values */ | 91 | /* as above, but as bit values */ |
diff --git a/arch/microblaze/include/asm/thread_info.h b/arch/microblaze/include/asm/thread_info.h index b2ca80f64640..8a8e9fc6e0c0 100644 --- a/arch/microblaze/include/asm/thread_info.h +++ b/arch/microblaze/include/asm/thread_info.h | |||
@@ -122,7 +122,7 @@ static inline struct thread_info *current_thread_info(void) | |||
122 | /* restore singlestep on return to user mode */ | 122 | /* restore singlestep on return to user mode */ |
123 | #define TIF_SINGLESTEP 4 | 123 | #define TIF_SINGLESTEP 4 |
124 | #define TIF_IRET 5 /* return with iret */ | 124 | #define TIF_IRET 5 /* return with iret */ |
125 | #define TIF_MEMDIE 6 | 125 | #define TIF_MEMDIE 6 /* is terminating due to OOM killer */ |
126 | #define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */ | 126 | #define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */ |
127 | #define TIF_SECCOMP 10 /* secure computing */ | 127 | #define TIF_SECCOMP 10 /* secure computing */ |
128 | #define TIF_FREEZE 14 /* Freezing for suspend */ | 128 | #define TIF_FREEZE 14 /* Freezing for suspend */ |
diff --git a/arch/mips/include/asm/thread_info.h b/arch/mips/include/asm/thread_info.h index 845da2107ed1..2376f2e06e47 100644 --- a/arch/mips/include/asm/thread_info.h +++ b/arch/mips/include/asm/thread_info.h | |||
@@ -112,7 +112,7 @@ register struct thread_info *__current_thread_info __asm__("$28"); | |||
112 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ | 112 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ |
113 | #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ | 113 | #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ |
114 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 114 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
115 | #define TIF_MEMDIE 18 | 115 | #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ |
116 | #define TIF_FREEZE 19 | 116 | #define TIF_FREEZE 19 |
117 | #define TIF_FIXADE 20 /* Fix address errors in software */ | 117 | #define TIF_FIXADE 20 /* Fix address errors in software */ |
118 | #define TIF_LOGADE 21 /* Log address errors to syslog */ | 118 | #define TIF_LOGADE 21 /* Log address errors to syslog */ |
diff --git a/arch/mn10300/include/asm/thread_info.h b/arch/mn10300/include/asm/thread_info.h index 58d64f8b2cc3..2001cb657a95 100644 --- a/arch/mn10300/include/asm/thread_info.h +++ b/arch/mn10300/include/asm/thread_info.h | |||
@@ -148,7 +148,7 @@ static inline unsigned long current_stack_pointer(void) | |||
148 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ | 148 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ |
149 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ | 149 | #define TIF_RESTORE_SIGMASK 5 /* restore signal mask in do_signal() */ |
150 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 150 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
151 | #define TIF_MEMDIE 17 /* OOM killer killed process */ | 151 | #define TIF_MEMDIE 17 /* is terminating due to OOM killer */ |
152 | #define TIF_FREEZE 18 /* freezing for suspend */ | 152 | #define TIF_FREEZE 18 /* freezing for suspend */ |
153 | 153 | ||
154 | #define _TIF_SYSCALL_TRACE +(1 << TIF_SYSCALL_TRACE) | 154 | #define _TIF_SYSCALL_TRACE +(1 << TIF_SYSCALL_TRACE) |
diff --git a/arch/parisc/include/asm/thread_info.h b/arch/parisc/include/asm/thread_info.h index 7ecc1039cfed..aa8de727e90b 100644 --- a/arch/parisc/include/asm/thread_info.h +++ b/arch/parisc/include/asm/thread_info.h | |||
@@ -56,7 +56,7 @@ struct thread_info { | |||
56 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ | 56 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ |
57 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 57 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
58 | #define TIF_32BIT 4 /* 32 bit binary */ | 58 | #define TIF_32BIT 4 /* 32 bit binary */ |
59 | #define TIF_MEMDIE 5 | 59 | #define TIF_MEMDIE 5 /* is terminating due to OOM killer */ |
60 | #define TIF_RESTORE_SIGMASK 6 /* restore saved signal mask */ | 60 | #define TIF_RESTORE_SIGMASK 6 /* restore saved signal mask */ |
61 | #define TIF_FREEZE 7 /* is freezing for suspend */ | 61 | #define TIF_FREEZE 7 /* is freezing for suspend */ |
62 | #define TIF_NOTIFY_RESUME 8 /* callback before returning to user */ | 62 | #define TIF_NOTIFY_RESUME 8 /* callback before returning to user */ |
diff --git a/arch/powerpc/include/asm/thread_info.h b/arch/powerpc/include/asm/thread_info.h index aa9d383a1c09..65eb85976a03 100644 --- a/arch/powerpc/include/asm/thread_info.h +++ b/arch/powerpc/include/asm/thread_info.h | |||
@@ -104,7 +104,7 @@ static inline struct thread_info *current_thread_info(void) | |||
104 | #define TIF_PERFMON_CTXSW 6 /* perfmon needs ctxsw calls */ | 104 | #define TIF_PERFMON_CTXSW 6 /* perfmon needs ctxsw calls */ |
105 | #define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */ | 105 | #define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */ |
106 | #define TIF_SINGLESTEP 8 /* singlestepping active */ | 106 | #define TIF_SINGLESTEP 8 /* singlestepping active */ |
107 | #define TIF_MEMDIE 9 | 107 | #define TIF_MEMDIE 9 /* is terminating due to OOM killer */ |
108 | #define TIF_SECCOMP 10 /* secure computing */ | 108 | #define TIF_SECCOMP 10 /* secure computing */ |
109 | #define TIF_RESTOREALL 11 /* Restore all regs (implies NOERROR) */ | 109 | #define TIF_RESTOREALL 11 /* Restore all regs (implies NOERROR) */ |
110 | #define TIF_NOERROR 12 /* Force successful syscall return */ | 110 | #define TIF_NOERROR 12 /* Force successful syscall return */ |
diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h index 34f0873d6525..370b4df68e88 100644 --- a/arch/s390/include/asm/thread_info.h +++ b/arch/s390/include/asm/thread_info.h | |||
@@ -96,7 +96,7 @@ static inline struct thread_info *current_thread_info(void) | |||
96 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling | 96 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling |
97 | TIF_NEED_RESCHED */ | 97 | TIF_NEED_RESCHED */ |
98 | #define TIF_31BIT 17 /* 32bit process */ | 98 | #define TIF_31BIT 17 /* 32bit process */ |
99 | #define TIF_MEMDIE 18 | 99 | #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ |
100 | #define TIF_RESTORE_SIGMASK 19 /* restore signal mask in do_signal() */ | 100 | #define TIF_RESTORE_SIGMASK 19 /* restore signal mask in do_signal() */ |
101 | #define TIF_FREEZE 20 /* thread is freezing for suspend */ | 101 | #define TIF_FREEZE 20 /* thread is freezing for suspend */ |
102 | 102 | ||
diff --git a/arch/score/include/asm/thread_info.h b/arch/score/include/asm/thread_info.h index 55939992c27d..8570d08f58c1 100644 --- a/arch/score/include/asm/thread_info.h +++ b/arch/score/include/asm/thread_info.h | |||
@@ -92,7 +92,7 @@ register struct thread_info *__current_thread_info __asm__("r28"); | |||
92 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ | 92 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ |
93 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling | 93 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling |
94 | TIF_NEED_RESCHED */ | 94 | TIF_NEED_RESCHED */ |
95 | #define TIF_MEMDIE 18 | 95 | #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ |
96 | 96 | ||
97 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 97 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
98 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) | 98 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
diff --git a/arch/sh/include/asm/thread_info.h b/arch/sh/include/asm/thread_info.h index 55a36fef6875..c228946926ed 100644 --- a/arch/sh/include/asm/thread_info.h +++ b/arch/sh/include/asm/thread_info.h | |||
@@ -121,7 +121,7 @@ extern void init_thread_xstate(void); | |||
121 | #define TIF_NOTIFY_RESUME 7 /* callback before returning to user */ | 121 | #define TIF_NOTIFY_RESUME 7 /* callback before returning to user */ |
122 | #define TIF_SYSCALL_TRACEPOINT 8 /* for ftrace syscall instrumentation */ | 122 | #define TIF_SYSCALL_TRACEPOINT 8 /* for ftrace syscall instrumentation */ |
123 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 123 | #define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
124 | #define TIF_MEMDIE 18 | 124 | #define TIF_MEMDIE 18 /* is terminating due to OOM killer */ |
125 | #define TIF_FREEZE 19 /* Freezing for suspend */ | 125 | #define TIF_FREEZE 19 /* Freezing for suspend */ |
126 | 126 | ||
127 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) | 127 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) |
diff --git a/arch/sparc/include/asm/thread_info_32.h b/arch/sparc/include/asm/thread_info_32.h index 844d73a0340c..9dd0318d3ddf 100644 --- a/arch/sparc/include/asm/thread_info_32.h +++ b/arch/sparc/include/asm/thread_info_32.h | |||
@@ -132,7 +132,7 @@ BTFIXUPDEF_CALL(void, free_thread_info, struct thread_info *) | |||
132 | * this quantum (SMP) */ | 132 | * this quantum (SMP) */ |
133 | #define TIF_POLLING_NRFLAG 9 /* true if poll_idle() is polling | 133 | #define TIF_POLLING_NRFLAG 9 /* true if poll_idle() is polling |
134 | * TIF_NEED_RESCHED */ | 134 | * TIF_NEED_RESCHED */ |
135 | #define TIF_MEMDIE 10 | 135 | #define TIF_MEMDIE 10 /* is terminating due to OOM killer */ |
136 | #define TIF_FREEZE 11 /* is freezing for suspend */ | 136 | #define TIF_FREEZE 11 /* is freezing for suspend */ |
137 | 137 | ||
138 | /* as above, but as bit values */ | 138 | /* as above, but as bit values */ |
diff --git a/arch/sparc/include/asm/thread_info_64.h b/arch/sparc/include/asm/thread_info_64.h index 4827a3aeac7f..fb2ea7705a46 100644 --- a/arch/sparc/include/asm/thread_info_64.h +++ b/arch/sparc/include/asm/thread_info_64.h | |||
@@ -223,7 +223,7 @@ register struct thread_info *current_thread_info_reg asm("g6"); | |||
223 | * an immediate value in instructions such as andcc. | 223 | * an immediate value in instructions such as andcc. |
224 | */ | 224 | */ |
225 | /* flag bit 12 is available */ | 225 | /* flag bit 12 is available */ |
226 | #define TIF_MEMDIE 13 | 226 | #define TIF_MEMDIE 13 /* is terminating due to OOM killer */ |
227 | #define TIF_POLLING_NRFLAG 14 | 227 | #define TIF_POLLING_NRFLAG 14 |
228 | #define TIF_FREEZE 15 /* is freezing for suspend */ | 228 | #define TIF_FREEZE 15 /* is freezing for suspend */ |
229 | 229 | ||
diff --git a/arch/um/include/asm/thread_info.h b/arch/um/include/asm/thread_info.h index fd911f855367..e2cf786bda0a 100644 --- a/arch/um/include/asm/thread_info.h +++ b/arch/um/include/asm/thread_info.h | |||
@@ -63,10 +63,9 @@ static inline struct thread_info *current_thread_info(void) | |||
63 | #define TIF_SIGPENDING 1 /* signal pending */ | 63 | #define TIF_SIGPENDING 1 /* signal pending */ |
64 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ | 64 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ |
65 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling | 65 | #define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling |
66 | * TIF_NEED_RESCHED | 66 | * TIF_NEED_RESCHED */ |
67 | */ | 67 | #define TIF_RESTART_BLOCK 4 |
68 | #define TIF_RESTART_BLOCK 4 | 68 | #define TIF_MEMDIE 5 /* is terminating due to OOM killer */ |
69 | #define TIF_MEMDIE 5 | ||
70 | #define TIF_SYSCALL_AUDIT 6 | 69 | #define TIF_SYSCALL_AUDIT 6 |
71 | #define TIF_RESTORE_SIGMASK 7 | 70 | #define TIF_RESTORE_SIGMASK 7 |
72 | #define TIF_FREEZE 16 /* is freezing for suspend */ | 71 | #define TIF_FREEZE 16 /* is freezing for suspend */ |
diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index e0d28901e969..4cc1be269757 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h | |||
@@ -87,7 +87,7 @@ struct thread_info { | |||
87 | #define TIF_NOTSC 16 /* TSC is not accessible in userland */ | 87 | #define TIF_NOTSC 16 /* TSC is not accessible in userland */ |
88 | #define TIF_IA32 17 /* 32bit process */ | 88 | #define TIF_IA32 17 /* 32bit process */ |
89 | #define TIF_FORK 18 /* ret_from_fork */ | 89 | #define TIF_FORK 18 /* ret_from_fork */ |
90 | #define TIF_MEMDIE 20 | 90 | #define TIF_MEMDIE 20 /* is terminating due to OOM killer */ |
91 | #define TIF_DEBUG 21 /* uses debug registers */ | 91 | #define TIF_DEBUG 21 /* uses debug registers */ |
92 | #define TIF_IO_BITMAP 22 /* uses I/O bitmap */ | 92 | #define TIF_IO_BITMAP 22 /* uses I/O bitmap */ |
93 | #define TIF_FREEZE 23 /* is freezing for suspend */ | 93 | #define TIF_FREEZE 23 /* is freezing for suspend */ |
diff --git a/arch/xtensa/include/asm/thread_info.h b/arch/xtensa/include/asm/thread_info.h index 13165641cc51..7be8accb0b0c 100644 --- a/arch/xtensa/include/asm/thread_info.h +++ b/arch/xtensa/include/asm/thread_info.h | |||
@@ -129,7 +129,7 @@ static inline struct thread_info *current_thread_info(void) | |||
129 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ | 129 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ |
130 | #define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */ | 130 | #define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */ |
131 | #define TIF_IRET 4 /* return with iret */ | 131 | #define TIF_IRET 4 /* return with iret */ |
132 | #define TIF_MEMDIE 5 | 132 | #define TIF_MEMDIE 5 /* is terminating due to OOM killer */ |
133 | #define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */ | 133 | #define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */ |
134 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ | 134 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
135 | #define TIF_FREEZE 17 /* is freezing for suspend */ | 135 | #define TIF_FREEZE 17 /* is freezing for suspend */ |