From: Chen Liqin <liqin.chen@sunplusct.com>
Date: Thu, 17 Sep 2009 04:05:56 +0000 (+0800)
Subject: score: add TIF_NOTIFY_RESUME define in asm/thread_info.h
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9973affe9bbcde64041890d8793eb2e74143c298;p=linux.git

score: add TIF_NOTIFY_RESUME define in asm/thread_info.h
---

diff --git a/arch/score/include/asm/thread_info.h b/arch/score/include/asm/thread_info.h
index 0af8ca074c8dc..3a1122885528b 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");
 #define TIF_SYSCALL_TRACE	0	/* syscall trace active */
 #define TIF_SIGPENDING		1	/* signal pending */
 #define TIF_NEED_RESCHED	2	/* rescheduling necessary */
+#define TIF_NOTIFY_RESUME	5	/* callback before returning to user */
 #define TIF_RESTORE_SIGMASK	9	/* restore signal mask in do_signal() */
 #define TIF_POLLING_NRFLAG	17	/* true if poll_idle() is polling
 						 TIF_NEED_RESCHED */
@@ -93,6 +94,7 @@ register struct thread_info *__current_thread_info __asm__("r28");
 #define _TIF_SYSCALL_TRACE	(1<<TIF_SYSCALL_TRACE)
 #define _TIF_SIGPENDING		(1<<TIF_SIGPENDING)
 #define _TIF_NEED_RESCHED	(1<<TIF_NEED_RESCHED)
+#define _TIF_NOTIFY_RESUME	(1<<TIF_NOTIFY_RESUME)
 #define _TIF_RESTORE_SIGMASK	(1<<TIF_RESTORE_SIGMASK)
 #define _TIF_POLLING_NRFLAG	(1<<TIF_POLLING_NRFLAG)