aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc')
-rw-r--r--include/asm-parisc/thread_info.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/asm-parisc/thread_info.h b/include/asm-parisc/thread_info.h
index 949314cf6188..2d9c7500867b 100644
--- a/include/asm-parisc/thread_info.h
+++ b/include/asm-parisc/thread_info.h
@@ -56,23 +56,21 @@ struct thread_info {
56 * thread information flags 56 * thread information flags
57 */ 57 */
58#define TIF_SYSCALL_TRACE 0 /* syscall trace active */ 58#define TIF_SYSCALL_TRACE 0 /* syscall trace active */
59#define TIF_NOTIFY_RESUME 1 /* resumption notification requested */ 59#define TIF_SIGPENDING 1 /* signal pending */
60#define TIF_SIGPENDING 2 /* signal pending */ 60#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
61#define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 61#define TIF_POLLING_NRFLAG 3 /* true if poll_idle() is polling TIF_NEED_RESCHED */
62#define TIF_POLLING_NRFLAG 4 /* true if poll_idle() is polling TIF_NEED_RESCHED */ 62#define TIF_32BIT 4 /* 32 bit binary */
63#define TIF_32BIT 5 /* 32 bit binary */ 63#define TIF_MEMDIE 5
64#define TIF_MEMDIE 6 64#define TIF_RESTORE_SIGMASK 6 /* restore saved signal mask */
65#define TIF_RESTORE_SIGMASK 7 /* restore saved signal mask */
66 65
67#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) 66#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
68#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
69#define _TIF_SIGPENDING (1 << TIF_SIGPENDING) 67#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
70#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) 68#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
71#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) 69#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
72#define _TIF_32BIT (1 << TIF_32BIT) 70#define _TIF_32BIT (1 << TIF_32BIT)
73#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK) 71#define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK)
74 72
75#define _TIF_USER_WORK_MASK (_TIF_NOTIFY_RESUME | _TIF_SIGPENDING | \ 73#define _TIF_USER_WORK_MASK (_TIF_SIGPENDING | \
76 _TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK) 74 _TIF_NEED_RESCHED | _TIF_RESTORE_SIGMASK)
77 75
78#endif /* __KERNEL__ */ 76#endif /* __KERNEL__ */