Skip to content

Commit d88e4cb

Browse files
committed
freezer: remove now unused TIF_FREEZE
Signed-off-by: Tejun Heo <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected]
1 parent a320122 commit d88e4cb

File tree

23 files changed

+0
-45
lines changed

23 files changed

+0
-45
lines changed

arch/alpha/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,13 @@ register struct thread_info *__current_thread_info __asm__("$8");
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 */
82-
#define TIF_FREEZE 16 /* is freezing for suspend */
8382

8483
#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
8584
#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
8685
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
8786
#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
8887
#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
8988
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
90-
#define _TIF_FREEZE (1<<TIF_FREEZE)
9189

9290
/* Work to do on interrupt/exception return. */
9391
#define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \

arch/arm/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ extern void vfp_flush_hwstate(struct thread_info *);
142142
#define TIF_POLLING_NRFLAG 16
143143
#define TIF_USING_IWMMXT 17
144144
#define TIF_MEMDIE 18 /* is terminating due to OOM killer */
145-
#define TIF_FREEZE 19
146145
#define TIF_RESTORE_SIGMASK 20
147146
#define TIF_SECCOMP 21
148147

@@ -152,7 +151,6 @@ extern void vfp_flush_hwstate(struct thread_info *);
152151
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
153152
#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
154153
#define _TIF_USING_IWMMXT (1 << TIF_USING_IWMMXT)
155-
#define _TIF_FREEZE (1 << TIF_FREEZE)
156154
#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)
157155
#define _TIF_SECCOMP (1 << TIF_SECCOMP)
158156

arch/avr32/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ static inline struct thread_info *current_thread_info(void)
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 */
88-
#define TIF_FREEZE 29
8988
#define TIF_DEBUG 30 /* debugging enabled */
9089
#define TIF_USERSPACE 31 /* true if FS sets userspace */
9190

@@ -98,7 +97,6 @@ static inline struct thread_info *current_thread_info(void)
9897
#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)
9998
#define _TIF_CPU_GOING_TO_SLEEP (1 << TIF_CPU_GOING_TO_SLEEP)
10099
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
101-
#define _TIF_FREEZE (1 << TIF_FREEZE)
102100

103101
/* Note: The masks below must never span more than 16 bits! */
104102

arch/blackfin/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ static inline struct thread_info *current_thread_info(void)
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() */
103-
#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
@@ -111,7 +110,6 @@ static inline struct thread_info *current_thread_info(void)
111110
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
112111
#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
113112
#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
114-
#define _TIF_FREEZE (1<<TIF_FREEZE)
115113
#define _TIF_IRQ_SYNC (1<<TIF_IRQ_SYNC)
116114
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
117115
#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP)

arch/cris/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,13 @@ struct thread_info {
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 */
89-
#define TIF_FREEZE 18 /* is freezing for suspend */
9089

9190
#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
9291
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
9392
#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
9493
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
9594
#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
9695
#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
97-
#define _TIF_FREEZE (1<<TIF_FREEZE)
9896

9997
#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
10098
#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */

arch/frv/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ register struct thread_info *__current_thread_info asm("gr15");
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 */
114-
#define TIF_FREEZE 18 /* freezing for suspend */
115114

116115
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
117116
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
@@ -120,7 +119,6 @@ register struct thread_info *__current_thread_info asm("gr15");
120119
#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)
121120
#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)
122121
#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
123-
#define _TIF_FREEZE (1 << TIF_FREEZE)
124122

125123
#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
126124
#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */

arch/h8300/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ static inline struct thread_info *current_thread_info(void)
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 */
93-
#define TIF_FREEZE 16 /* is freezing for suspend */
9493

9594
/* as above, but as bit values */
9695
#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
@@ -99,7 +98,6 @@ static inline struct thread_info *current_thread_info(void)
9998
#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
10099
#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
101100
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
102-
#define _TIF_FREEZE (1<<TIF_FREEZE)
103101

104102
#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
105103

arch/ia64/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ struct thread_info {
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 */
116-
#define TIF_FREEZE 20 /* is freezing for suspend */
117116
#define TIF_RESTORE_RSE 21 /* user RBS is newer than kernel RBS */
118117

119118
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
@@ -126,7 +125,6 @@ struct thread_info {
126125
#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
127126
#define _TIF_MCA_INIT (1 << TIF_MCA_INIT)
128127
#define _TIF_DB_DISABLED (1 << TIF_DB_DISABLED)
129-
#define _TIF_FREEZE (1 << TIF_FREEZE)
130128
#define _TIF_RESTORE_RSE (1 << TIF_RESTORE_RSE)
131129

132130
/* "work to do on user-return" bits */

arch/m32r/include/asm/thread_info.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ static inline unsigned int get_thread_fault_code(void)
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 */
141-
#define TIF_FREEZE 19 /* is freezing for suspend */
142141

143142
#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
144143
#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
@@ -149,7 +148,6 @@ static inline unsigned int get_thread_fault_code(void)
149148
#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
150149
#define _TIF_USEDFPU (1<<TIF_USEDFPU)
151150
#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
152-
#define _TIF_FREEZE (1<<TIF_FREEZE)
153151

154152
#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
155153
#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */

arch/m68k/include/asm/thread_info.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ static inline struct thread_info *current_thread_info(void)
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 */
106-
#define TIF_FREEZE 17 /* thread is freezing for suspend */
107106
#define TIF_RESTORE_SIGMASK 18 /* restore signal mask in do_signal */
108107

109108
#endif /* _ASM_M68K_THREAD_INFO_H */

0 commit comments

Comments
 (0)