hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/arch/arc/include/asm/thread_info.h
....@@ -1,9 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
74 *
85 * Vineetg: Oct 2009
96 * No need for ARC specific thread_info allocator (kmalloc/free). This is
....@@ -82,6 +79,7 @@
8279 #define TIF_SIGPENDING 2 /* signal pending */
8380 #define TIF_NEED_RESCHED 3 /* rescheduling necessary */
8481 #define TIF_SYSCALL_AUDIT 4 /* syscall auditing active */
82
+#define TIF_NOTIFY_SIGNAL 5 /* signal notifications exist */
8583 #define TIF_SYSCALL_TRACE 15 /* syscall trace active */
8684
8785 /* true if poll_idle() is polling TIF_NEED_RESCHED */
....@@ -92,11 +90,12 @@
9290 #define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
9391 #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
9492 #define _TIF_SYSCALL_AUDIT (1<<TIF_SYSCALL_AUDIT)
93
+#define _TIF_NOTIFY_SIGNAL (1<<TIF_NOTIFY_SIGNAL)
9594 #define _TIF_MEMDIE (1<<TIF_MEMDIE)
9695
9796 /* work to do on interrupt/exception return */
9897 #define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING | \
99
- _TIF_NOTIFY_RESUME)
98
+ _TIF_NOTIFY_RESUME | _TIF_NOTIFY_SIGNAL)
10099
101100 /*
102101 * _TIF_ALLWORK_MASK includes SYSCALL_TRACE, but we don't need it.