forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/openrisc/include/asm/thread_info.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * OpenRISC Linux
34 *
....@@ -9,11 +10,6 @@
910 * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
1011 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
1112 * et al.
12
- *
13
- * This program is free software; you can redistribute it and/or modify
14
- * it under the terms of the GNU General Public License as published by
15
- * the Free Software Foundation; either version 2 of the License, or
16
- * (at your option) any later version.
1713 */
1814
1915 #ifndef _ASM_THREAD_INFO_H
....@@ -102,6 +98,7 @@
10298 #define TIF_SINGLESTEP 4 /* restore singlestep on return to user
10399 * mode
104100 */
101
+#define TIF_NOTIFY_SIGNAL 5 /* signal notifications exist */
105102 #define TIF_SYSCALL_TRACEPOINT 8 /* for ftrace syscall instrumentation */
106103 #define TIF_RESTORE_SIGMASK 9
107104 #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling * TIF_NEED_RESCHED
....@@ -113,6 +110,7 @@
113110 #define _TIF_SIGPENDING (1<<TIF_SIGPENDING)
114111 #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED)
115112 #define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP)
113
+#define _TIF_NOTIFY_SIGNAL (1<<TIF_NOTIFY_SIGNAL)
116114 #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)
117115
118116