aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/hexagon/include/asm/thread_info.h2
-rw-r--r--arch/m32r/include/asm/thread_info.h2
-rw-r--r--arch/m32r/kernel/signal.c2
-rw-r--r--arch/microblaze/include/asm/thread_info.h2
-rw-r--r--arch/xtensa/include/asm/thread_info.h2
5 files changed, 0 insertions, 10 deletions
diff --git a/arch/hexagon/include/asm/thread_info.h b/arch/hexagon/include/asm/thread_info.h
index 7f33f1677119..e4a0aad69cbb 100644
--- a/arch/hexagon/include/asm/thread_info.h
+++ b/arch/hexagon/include/asm/thread_info.h
@@ -120,7 +120,6 @@ register struct thread_info *__current_thread_info asm(QUOTED_THREADINFO_REG);
120#define TIF_SIGPENDING 2 /* signal pending */ 120#define TIF_SIGPENDING 2 /* signal pending */
121#define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 121#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
122#define TIF_SINGLESTEP 4 /* restore ss @ return to usr mode */ 122#define TIF_SINGLESTEP 4 /* restore ss @ return to usr mode */
123#define TIF_IRET 5 /* return with iret */
124#define TIF_RESTORE_SIGMASK 6 /* restore sig mask in do_signal() */ 123#define TIF_RESTORE_SIGMASK 6 /* restore sig mask in do_signal() */
125/* true if poll_idle() is polling TIF_NEED_RESCHED */ 124/* true if poll_idle() is polling TIF_NEED_RESCHED */
126#define TIF_MEMDIE 17 /* OOM killer killed process */ 125#define TIF_MEMDIE 17 /* OOM killer killed process */
@@ -130,7 +129,6 @@ register struct thread_info *__current_thread_info asm(QUOTED_THREADINFO_REG);
130#define _TIF_SIGPENDING (1 << TIF_SIGPENDING) 129#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
131#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) 130#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
132#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) 131#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)
133#define _TIF_IRET (1 << TIF_IRET)
134 132
135/* work to do on interrupt/exception return - All but TIF_SYSCALL_TRACE */ 133/* work to do on interrupt/exception return - All but TIF_SYSCALL_TRACE */
136#define _TIF_WORK_MASK (0x0000FFFF & ~_TIF_SYSCALL_TRACE) 134#define _TIF_WORK_MASK (0x0000FFFF & ~_TIF_SYSCALL_TRACE)
diff --git a/arch/m32r/include/asm/thread_info.h b/arch/m32r/include/asm/thread_info.h
index 763e8aec5ea5..aad1c3a913d9 100644
--- a/arch/m32r/include/asm/thread_info.h
+++ b/arch/m32r/include/asm/thread_info.h
@@ -119,7 +119,6 @@ static inline unsigned int get_thread_fault_code(void)
119#define TIF_SIGPENDING 1 /* signal pending */ 119#define TIF_SIGPENDING 1 /* signal pending */
120#define TIF_NEED_RESCHED 2 /* rescheduling necessary */ 120#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
121#define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */ 121#define TIF_SINGLESTEP 3 /* restore singlestep on return to user mode */
122#define TIF_IRET 4 /* return with iret */
123#define TIF_NOTIFY_RESUME 5 /* callback before returning to user */ 122#define TIF_NOTIFY_RESUME 5 /* callback before returning to user */
124#define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */ 123#define TIF_RESTORE_SIGMASK 8 /* restore signal mask in do_signal() */
125#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ 124#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)
129#define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 128#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
130#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 129#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
131#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP) 130#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP)
132#define _TIF_IRET (1<<TIF_IRET)
133#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) 131#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
134#define _TIF_USEDFPU (1<<TIF_USEDFPU) 132#define _TIF_USEDFPU (1<<TIF_USEDFPU)
135 133
diff --git a/arch/m32r/kernel/signal.c b/arch/m32r/kernel/signal.c
index d0f60b97bbc5..c5101911b49a 100644
--- a/arch/m32r/kernel/signal.c
+++ b/arch/m32r/kernel/signal.c
@@ -366,6 +366,4 @@ void do_notify_resume(struct pt_regs *regs, __u32 thread_info_flags)
366 clear_thread_flag(TIF_NOTIFY_RESUME); 366 clear_thread_flag(TIF_NOTIFY_RESUME);
367 tracehook_notify_resume(regs); 367 tracehook_notify_resume(regs);
368 } 368 }
369
370 clear_thread_flag(TIF_IRET);
371} 369}
diff --git a/arch/microblaze/include/asm/thread_info.h b/arch/microblaze/include/asm/thread_info.h
index a2565347a39d..008f30433d22 100644
--- a/arch/microblaze/include/asm/thread_info.h
+++ b/arch/microblaze/include/asm/thread_info.h
@@ -121,7 +121,6 @@ static inline struct thread_info *current_thread_info(void)
121#define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 121#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
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 */
125#define TIF_MEMDIE 6 /* is terminating due to OOM killer */ 124#define TIF_MEMDIE 6 /* is terminating due to OOM killer */
126#define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */ 125#define TIF_SYSCALL_AUDIT 9 /* syscall auditing active */
127#define TIF_SECCOMP 10 /* secure computing */ 126#define TIF_SECCOMP 10 /* secure computing */
@@ -134,7 +133,6 @@ static inline struct thread_info *current_thread_info(void)
134#define _TIF_SIGPENDING (1 << TIF_SIGPENDING) 133#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
135#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) 134#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
136#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) 135#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP)
137#define _TIF_IRET (1 << TIF_IRET)
138#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) 136#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
139#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) 137#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT)
140#define _TIF_SECCOMP (1 << TIF_SECCOMP) 138#define _TIF_SECCOMP (1 << TIF_SECCOMP)
diff --git a/arch/xtensa/include/asm/thread_info.h b/arch/xtensa/include/asm/thread_info.h
index 214be732b2b2..9481004ac119 100644
--- a/arch/xtensa/include/asm/thread_info.h
+++ b/arch/xtensa/include/asm/thread_info.h
@@ -128,7 +128,6 @@ static inline struct thread_info *current_thread_info(void)
128#define TIF_SIGPENDING 1 /* signal pending */ 128#define TIF_SIGPENDING 1 /* signal pending */
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 */
132#define TIF_MEMDIE 5 /* is terminating due to OOM killer */ 131#define TIF_MEMDIE 5 /* is terminating due to OOM killer */
133#define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */ 132#define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */
134#define TIF_NOTIFY_RESUME 7 /* callback before returning to user */ 133#define TIF_NOTIFY_RESUME 7 /* callback before returning to user */
@@ -137,7 +136,6 @@ static inline struct thread_info *current_thread_info(void)
137#define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 136#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
138#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 137#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
139#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP) 138#define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP)
140#define _TIF_IRET (1<<TIF_IRET)
141 139
142#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */ 140#define _TIF_WORK_MASK 0x0000FFFE /* work to do on interrupt/exception return */
143#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */ 141#define _TIF_ALLWORK_MASK 0x0000FFFF /* work to do on any return to u-space */