Skip to content

Commit 8ca8230

Browse files
author
Al Viro
committed
bury the rest of TIF_IRET
Some architectures had blindly copied it for no reason whatsoever. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 16a8016 commit 8ca8230

5 files changed

Lines changed: 0 additions & 10 deletions

File tree

‎arch/hexagon/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ register struct thread_info *__current_thread_info asm(QUOTED_THREADINFO_REG);
120120
#define TIF_SIGPENDING 2 /* signal pending */
121121
#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
122122
#define TIF_SINGLESTEP 4 /* restore ss @ return to usr mode */
123-
#define TIF_IRET 5 /* return with iret */
124123
#define TIF_RESTORE_SIGMASK 6 /* restore sig mask in do_signal() */
125124
/* true if poll_idle() is polling TIF_NEED_RESCHED */
126125
#define TIF_MEMDIE 17 /* OOM killer killed process */
@@ -130,7 +129,6 @@ register struct thread_info *__current_thread_info asm(QUOTED_THREADINFO_REG);
130129
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
131130
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
132131
#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)
133-
#define _TIF_IRET (1 << TIF_IRET)
134132

135133
/* work to do on interrupt/exception return - All but TIF_SYSCALL_TRACE */
136134
#define _TIF_WORK_MASK (0x0000FFFF & ~_TIF_SYSCALL_TRACE)

‎arch/m32r/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ static inline unsigned int get_thread_fault_code(void)
119119
#define TIF_SIGPENDING 1 /* signal pending */
120120
#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
121121
#define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */
122-
#define TIF_IRET 4 /* return with iret */
123122
#define TIF_NOTIFY_RESUME 5 /* callback before returning to user */
124123
#define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */
125124
#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */
@@ -129,7 +128,6 @@ static inline unsigned int get_thread_fault_code(void)
129128
#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
130129
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
131130
#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP)
132-
#define _TIF_IRET (1<<TIF_IRET)
133131
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
134132
#define _TIF_USEDFPU (1<<TIF_USEDFPU)
135133

‎arch/m32r/kernel/signal.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,4 @@ void do_notify_resume(struct pt_regs *regs, __u32 thread_info_flags)
366366
clear_thread_flag(TIF_NOTIFY_RESUME);
367367
tracehook_notify_resume(regs);
368368
}
369-
370-
clear_thread_flag(TIF_IRET);
371369
}

‎arch/microblaze/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ static inline struct thread_info *current_thread_info(void)
121121
#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
122122
/* restore singlestep on return to user mode */
123123
#define TIF_SINGLESTEP 4
124-
#define TIF_IRET 5 /* return with iret */
125124
#define TIF_MEMDIE 6 /* is terminating due to OOM killer */
126125
#define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */
127126
#define TIF_SECCOMP 10 /* secure computing */
@@ -134,7 +133,6 @@ static inline struct thread_info *current_thread_info(void)
134133
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
135134
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
136135
#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)
137-
#define _TIF_IRET (1 << TIF_IRET)
138136
#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
139137
#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT)
140138
#define _TIF_SECCOMP (1 << TIF_SECCOMP)

‎arch/xtensa/include/asm/thread_info.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ static inline struct thread_info *current_thread_info(void)
128128
#define TIF_SIGPENDING 1 /* signal pending */
129129
#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
130130
#define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */
131-
#define TIF_IRET 4 /* return with iret */
132131
#define TIF_MEMDIE 5 /* is terminating due to OOM killer */
133132
#define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */
134133
#define TIF_NOTIFY_RESUME 7 /* callback before returning to user */
@@ -137,7 +136,6 @@ static inline struct thread_info *current_thread_info(void)
137136
#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
138137
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
139138
#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP)
140-
#define _TIF_IRET (1<<TIF_IRET)
141139

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

0 commit comments

Comments
 (0)