aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorStephane Eranian <eranian@hpl.hp.com>2007-07-31 03:38:00 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-31 18:39:38 -0400
commita583f1b54249b11ad1ffd14c6e74d28fcbc59c07 (patch)
tree3220e8baad9631c7d24175f712833aa5a0d468ae /include/asm-powerpc
parentcd4f0ef7c03e79f92a883843662e3d0eaae26fb4 (diff)
remove unused TIF_NOTIFY_RESUME flag
Remove unused TIF_NOTIFY_RESUME flag for all processor architectures. The flag was not used excecpt on IA-64 where the patch replaces it with TIF_PERFMON_WORK. Signed-off-by: stephane eranian <eranian@hpl.hp.com> Cc: <linux-arch@vger.kernel.org> Cc: "Luck, Tony" <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/thread_info.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/include/asm-powerpc/thread_info.h b/include/asm-powerpc/thread_info.h
index 9d9aeca8ad22..40d5f98c44fc 100644
--- a/include/asm-powerpc/thread_info.h
+++ b/include/asm-powerpc/thread_info.h
@@ -107,28 +107,26 @@ static inline struct thread_info *current_thread_info(void)
107 * thread information flag bit numbers 107 * thread information flag bit numbers
108 */ 108 */
109#define TIF_SYSCALL_TRACE 0 /* syscall trace active */ 109#define TIF_SYSCALL_TRACE 0 /* syscall trace active */
110#define TIF_NOTIFY_RESUME 1 /* resumption notification requested */ 110#define TIF_SIGPENDING 1 /* signal pending */
111#define TIF_SIGPENDING 2 /* signal pending */ 111#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
112#define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 112#define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling
113#define TIF_POLLING_NRFLAG 4 /* true if poll_idle() is polling
114 TIF_NEED_RESCHED */ 113 TIF_NEED_RESCHED */
115#define TIF_32BIT 5 /* 32 bit binary */ 114#define TIF_32BIT 4 /* 32 bit binary */
116#define TIF_PERFMON_WORK 6 /* work for pfm_handle_work() */ 115#define TIF_PERFMON_WORK 5 /* work for pfm_handle_work() */
117#define TIF_PERFMON_CTXSW 7 /* perfmon needs ctxsw calls */ 116#define TIF_PERFMON_CTXSW 6 /* perfmon needs ctxsw calls */
118#define TIF_SYSCALL_AUDIT 8 /* syscall auditing active */ 117#define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */
119#define TIF_SINGLESTEP 9 /* singlestepping active */ 118#define TIF_SINGLESTEP 8 /* singlestepping active */
120#define TIF_MEMDIE 10 119#define TIF_MEMDIE 9
121#define TIF_SECCOMP 11 /* secure computing */ 120#define TIF_SECCOMP 10 /* secure computing */
122#define TIF_RESTOREALL 12 /* Restore all regs (implies NOERROR) */ 121#define TIF_RESTOREALL 11 /* Restore all regs (implies NOERROR) */
123#define TIF_NOERROR 14 /* Force successful syscall return */ 122#define TIF_NOERROR 12 /* Force successful syscall return */
124#define TIF_RESTORE_SIGMASK 15 /* Restore signal mask in do_signal */ 123#define TIF_RESTORE_SIGMASK 13 /* Restore signal mask in do_signal */
125#define TIF_FREEZE 16 /* Freezing for suspend */ 124#define TIF_FREEZE 14 /* Freezing for suspend */
126#define TIF_RUNLATCH 17 /* Is the runlatch enabled? */ 125#define TIF_RUNLATCH 15 /* Is the runlatch enabled? */
127#define TIF_ABI_PENDING 18 /* 32/64 bit switch needed */ 126#define TIF_ABI_PENDING 16 /* 32/64 bit switch needed */
128 127
129/* as above, but as bit values */ 128/* as above, but as bit values */
130#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) 129#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
131#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
132#define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 130#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
133#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 131#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
134#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) 132#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
@@ -146,7 +144,7 @@ static inline struct thread_info *current_thread_info(void)
146#define _TIF_ABI_PENDING (1<<TIF_ABI_PENDING) 144#define _TIF_ABI_PENDING (1<<TIF_ABI_PENDING)
147#define _TIF_SYSCALL_T_OR_A (_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SECCOMP) 145#define _TIF_SYSCALL_T_OR_A (_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SECCOMP)
148 146
149#define _TIF_USER_WORK_MASK (_TIF_NOTIFY_RESUME | _TIF_SIGPENDING | \ 147#define _TIF_USER_WORK_MASK ( _TIF_SIGPENDING | \
150 _TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK) 148 _TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK)
151#define _TIF_PERSYSCALL_MASK (_TIF_RESTOREALL|_TIF_NOERROR) 149#define _TIF_PERSYSCALL_MASK (_TIF_RESTOREALL|_TIF_NOERROR)
152 150