summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/thread_info.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-24 10:30:16 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-22 07:59:48 +0400
commita53bb24e7666870bbc195e295a936aa0a58ce313 (patch)
treea6262e348507e0b391993649c70e21e72e1a2cb7 /arch/xtensa/include/asm/thread_info.h
parent8314019141e4f7274ea4dc264a47bbb2e17c66dd (diff)
downloadlinux-a53bb24e7666870bbc195e295a936aa0a58ce313.tar.xz
xtensa: add handling of TIF_NOTIFY_RESUME
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/xtensa/include/asm/thread_info.h')
-rw-r--r--arch/xtensa/include/asm/thread_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/thread_info.h b/arch/xtensa/include/asm/thread_info.h
index 6abbedd09d85..81abfd5d01ac 100644
--- a/arch/xtensa/include/asm/thread_info.h
+++ b/arch/xtensa/include/asm/thread_info.h
@@ -131,6 +131,7 @@ static inline struct thread_info *current_thread_info(void)
#define TIF_IRET 4 /* return with iret */
#define TIF_MEMDIE 5 /* is terminating due to OOM killer */
#define TIF_RESTORE_SIGMASK 6 /* restore signal mask in do_signal() */
+#define TIF_NOTIFY_RESUME 7 /* callback before returning to user */
#define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */
#define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)