Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Al Viro 8ca8230b 16a80163

-10
-2
arch/hexagon/include/asm/thread_info.h
··· 120 120 #define TIF_SIGPENDING 2 /* signal pending */ 121 121 #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 122 122 #define TIF_SINGLESTEP 4 /* restore ss @ return to usr mode */ 123 - #define TIF_IRET 5 /* return with iret */ 124 123 #define TIF_RESTORE_SIGMASK 6 /* restore sig mask in do_signal() */ 125 124 /* true if poll_idle() is polling TIF_NEED_RESCHED */ 126 125 #define TIF_MEMDIE 17 /* OOM killer killed process */ ··· 129 130 #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) 130 131 #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) 131 132 #define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) 132 - #define _TIF_IRET (1 << TIF_IRET) 133 133 134 134 /* work to do on interrupt/exception return - All but TIF_SYSCALL_TRACE */ 135 135 #define _TIF_WORK_MASK (0x0000FFFF & ~_TIF_SYSCALL_TRACE)
-2
arch/m32r/include/asm/thread_info.h
··· 119 119 #define TIF_SIGPENDING 1 /* signal pending */ 120 120 #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ 121 121 #define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */ 122 - #define TIF_IRET 4 /* return with iret */ 123 122 #define TIF_NOTIFY_RESUME 5 /* callback before returning to user */ 124 123 #define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */ 125 124 #define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ ··· 128 129 #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 129 130 #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 130 131 #define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP) 131 - #define _TIF_IRET (1<<TIF_IRET) 132 132 #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) 133 133 #define _TIF_USEDFPU (1<<TIF_USEDFPU) 134 134
-2
arch/m32r/kernel/signal.c
··· 366 366 clear_thread_flag(TIF_NOTIFY_RESUME); 367 367 tracehook_notify_resume(regs); 368 368 } 369 - 370 - clear_thread_flag(TIF_IRET); 371 369 }
-2
arch/microblaze/include/asm/thread_info.h
··· 121 121 #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 122 122 /* restore singlestep on return to user mode */ 123 123 #define TIF_SINGLESTEP 4 124 - #define TIF_IRET 5 /* return with iret */ 125 124 #define TIF_MEMDIE 6 /* is terminating due to OOM killer */ 126 125 #define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */ 127 126 #define TIF_SECCOMP 10 /* secure computing */ ··· 133 134 #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) 134 135 #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) 135 136 #define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) 136 - #define _TIF_IRET (1 << TIF_IRET) 137 137 #define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) 138 138 #define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) 139 139 #define _TIF_SECCOMP (1 << TIF_SECCOMP)
-2
arch/xtensa/include/asm/thread_info.h
··· 128 128 #define TIF_SIGPENDING 1 /* signal pending */ 129 129 #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ 130 130 #define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */ 131 - #define TIF_IRET 4 /* return with iret */ 132 131 #define TIF_MEMDIE 5 /* is terminating due to OOM killer */ 133 132 #define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */ 134 133 #define TIF_NOTIFY_RESUME 7 /* callback before returning to user */ ··· 136 137 #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 137 138 #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 138 139 #define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP) 139 - #define _TIF_IRET (1<<TIF_IRET) 140 140 141 141 #define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */ 142 142 #define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */