diff options
Diffstat (limited to 'include/asm-alpha/thread_info.h')
-rw-r--r-- | include/asm-alpha/thread_info.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/include/asm-alpha/thread_info.h b/include/asm-alpha/thread_info.h index 48a22e3e6f32..fb3185196298 100644 --- a/include/asm-alpha/thread_info.h +++ b/include/asm-alpha/thread_info.h | |||
@@ -67,28 +67,24 @@ register struct thread_info *__current_thread_info __asm__("$8"); | |||
67 | * TIF_SYSCALL_TRACE is known to be 0 via blbs. | 67 | * TIF_SYSCALL_TRACE is known to be 0 via blbs. |
68 | */ | 68 | */ |
69 | #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ | 69 | #define TIF_SYSCALL_TRACE 0 /* syscall trace active */ |
70 | #define TIF_NOTIFY_RESUME 1 /* resumption notification requested */ | 70 | #define TIF_SIGPENDING 1 /* signal pending */ |
71 | #define TIF_SIGPENDING 2 /* signal pending */ | 71 | #define TIF_NEED_RESCHED 2 /* rescheduling necessary */ |
72 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ | 72 | #define TIF_POLLING_NRFLAG 3 /* poll_idle is polling NEED_RESCHED */ |
73 | #define TIF_POLLING_NRFLAG 4 /* poll_idle is polling NEED_RESCHED */ | 73 | #define TIF_DIE_IF_KERNEL 4 /* dik recursion lock */ |
74 | #define TIF_DIE_IF_KERNEL 5 /* dik recursion lock */ | 74 | #define TIF_UAC_NOPRINT 5 /* see sysinfo.h */ |
75 | #define TIF_UAC_NOPRINT 6 /* see sysinfo.h */ | 75 | #define TIF_UAC_NOFIX 6 |
76 | #define TIF_UAC_NOFIX 7 | 76 | #define TIF_UAC_SIGBUS 7 |
77 | #define TIF_UAC_SIGBUS 8 | 77 | #define TIF_MEMDIE 8 |
78 | #define TIF_MEMDIE 9 | 78 | #define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal */ |
79 | #define TIF_RESTORE_SIGMASK 10 /* restore signal mask in do_signal */ | ||
80 | 79 | ||
81 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) | 80 | #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) |
82 | #define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) | ||
83 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) | 81 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
84 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) | 82 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
85 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) | 83 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
86 | #define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK) | 84 | #define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK) |
87 | 85 | ||
88 | /* Work to do on interrupt/exception return. */ | 86 | /* Work to do on interrupt/exception return. */ |
89 | #define _TIF_WORK_MASK (_TIF_NOTIFY_RESUME \ | 87 | #define _TIF_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED) |
90 | | _TIF_SIGPENDING \ | ||
91 | | _TIF_NEED_RESCHED) | ||
92 | 88 | ||
93 | /* Work to do on any return to userspace. */ | 89 | /* Work to do on any return to userspace. */ |
94 | #define _TIF_ALLWORK_MASK (_TIF_WORK_MASK \ | 90 | #define _TIF_ALLWORK_MASK (_TIF_WORK_MASK \ |