aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorChen Liqin <liqin.chen@sunplusct.com>2009-09-17 00:05:56 -0400
committerChen Liqin <liqin.chen@sunplusct.com>2009-09-17 00:05:56 -0400
commit9973affe9bbcde64041890d8793eb2e74143c298 (patch)
tree952cc5fa10ca03f9214bcdf30a213eb84bfcf817 /arch/score
parent125ec616f4f06565914123614e7287e9a490f2d9 (diff)
score: add TIF_NOTIFY_RESUME define in asm/thread_info.h
Diffstat (limited to 'arch/score')
-rw-r--r--arch/score/include/asm/thread_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/score/include/asm/thread_info.h b/arch/score/include/asm/thread_info.h
index 0af8ca074c8d..3a1122885528 100644
--- a/arch/score/include/asm/thread_info.h
+++ b/arch/score/include/asm/thread_info.h
@@ -85,6 +85,7 @@ register struct thread_info *__current_thread_info __asm__("r28");
85#define TIF_SYSCALL_TRACE 0 /* syscall trace active */ 85#define TIF_SYSCALL_TRACE 0 /* syscall trace active */
86#define TIF_SIGPENDING 1 /* signal pending */ 86#define TIF_SIGPENDING 1 /* signal pending */
87#define TIF_NEED_RESCHED 2 /* rescheduling necessary */ 87#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
88#define TIF_NOTIFY_RESUME 5 /* callback before returning to user */
88#define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */ 89#define TIF_RESTORE_SIGMASK 9 /* restore signal mask in do_signal() */
89#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling 90#define TIF_POLLING_NRFLAG 17 /* true if poll_idle() is polling
90 TIF_NEED_RESCHED */ 91 TIF_NEED_RESCHED */
@@ -93,6 +94,7 @@ register struct thread_info *__current_thread_info __asm__("r28");
93#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE) 94#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
94#define _TIF_SIGPENDING (1<<TIF_SIGPENDING) 95#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
95#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) 96#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
97#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
96#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK) 98#define _TIF_RESTORE_SIGMASK (1<<TIF_RESTORE_SIGMASK)
97#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) 99#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
98 100