aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/thread_info.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 04:27:00 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 04:27:00 -0400
commit9f23e7e94f7083d9705b595cbd6b30972be6fbbb (patch)
tree5fc6e90a9e361dca2e56bb03327078a2eb88cb4c /include/asm-sh/thread_info.h
parenta2d1a5fae6296c2a3ac1aaa982c95464c46c0585 (diff)
sh: pselect6 and ppoll, along with signal trampoline rework.
This implements support for ppoll() and pselect6().. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/thread_info.h')
-rw-r--r--include/asm-sh/thread_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/thread_info.h b/include/asm-sh/thread_info.h
index b986a1914472..5eb874b065a6 100644
--- a/include/asm-sh/thread_info.h
+++ b/include/asm-sh/thread_info.h
@@ -94,6 +94,7 @@ static inline struct thread_info *current_thread_info(void)
94#define TIF_NOTIFY_RESUME 1 /* resumption notification requested */ 94#define TIF_NOTIFY_RESUME 1 /* resumption notification requested */
95#define TIF_SIGPENDING 2 /* signal pending */ 95#define TIF_SIGPENDING 2 /* signal pending */
96#define TIF_NEED_RESCHED 3 /* rescheduling necessary */ 96#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
97#define TIF_RESTORE_SIGMASK 4 /* restore signal mask in do_signal() */
97#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */ 98#define TIF_USEDFPU 16 /* FPU was used by this task this quantum (SMP) */
98#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */ 99#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling TIF_NEED_RESCHED */
99#define TIF_MEMDIE 18 100#define TIF_MEMDIE 18
@@ -102,6 +103,7 @@ static inline struct thread_info *current_thread_info(void)
102#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME) 103#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
103#define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 104#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
104#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 105#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
106#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
105#define _TIF_USEDFPU (1<<TIF_USEDFPU) 107#define _TIF_USEDFPU (1<<TIF_USEDFPU)
106#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) 108#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
107 109