aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/thread_info_32.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-10-09 15:44:37 -0600
committerJens Axboe <axboe@kernel.dk>2020-12-12 09:17:38 -0700
commitf50a7052f5e70ee7a6a5e2ed08660994dc3df2a5 (patch)
tree086359e0403659c06dd293ca34162820f155ba5c /arch/sparc/include/asm/thread_info_32.h
parentriscv: add support for TIF_NOTIFY_SIGNAL (diff)
downloadlinux-dev-f50a7052f5e70ee7a6a5e2ed08660994dc3df2a5.tar.xz
linux-dev-f50a7052f5e70ee7a6a5e2ed08660994dc3df2a5.zip
sparc: add support for TIF_NOTIFY_SIGNAL
Wire up TIF_NOTIFY_SIGNAL handling for sparc. Cc: sparclinux@vger.kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/sparc/include/asm/thread_info_32.h')
-rw-r--r--arch/sparc/include/asm/thread_info_32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/thread_info_32.h b/arch/sparc/include/asm/thread_info_32.h
index 548b366165dd..45b4955b253f 100644
--- a/arch/sparc/include/asm/thread_info_32.h
+++ b/arch/sparc/include/asm/thread_info_32.h
@@ -104,6 +104,7 @@ register struct thread_info *current_thread_info_reg asm("g6");
#define TIF_SIGPENDING 2 /* signal pending */
#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
#define TIF_RESTORE_SIGMASK 4 /* restore signal mask in do_signal() */
+#define TIF_NOTIFY_SIGNAL 5 /* signal notifications exist */
#define TIF_USEDFPU 8 /* FPU was used by this task
* this quantum (SMP) */
#define TIF_POLLING_NRFLAG 9 /* true if poll_idle() is polling
@@ -115,11 +116,12 @@ register struct thread_info *current_thread_info_reg asm("g6");
#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)
#define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
#define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
+#define _TIF_NOTIFY_SIGNAL (1<<TIF_NOTIFY_SIGNAL)
#define _TIF_USEDFPU (1<<TIF_USEDFPU)
#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
#define _TIF_DO_NOTIFY_RESUME_MASK (_TIF_NOTIFY_RESUME | \
- _TIF_SIGPENDING)
+ _TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)
#define is_32bit_task() (1)