| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * OpenRISC Linux |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 9 | 10 | * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com> |
|---|
| 10 | 11 | * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> |
|---|
| 11 | 12 | * 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. |
|---|
| 17 | 13 | */ |
|---|
| 18 | 14 | |
|---|
| 19 | 15 | #ifndef _ASM_THREAD_INFO_H |
|---|
| .. | .. |
|---|
| 102 | 98 | #define TIF_SINGLESTEP 4 /* restore singlestep on return to user |
|---|
| 103 | 99 | * mode |
|---|
| 104 | 100 | */ |
|---|
| 101 | +#define TIF_NOTIFY_SIGNAL 5 /* signal notifications exist */ |
|---|
| 105 | 102 | #define TIF_SYSCALL_TRACEPOINT 8 /* for ftrace syscall instrumentation */ |
|---|
| 106 | 103 | #define TIF_RESTORE_SIGMASK 9 |
|---|
| 107 | 104 | #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling * TIF_NEED_RESCHED |
|---|
| .. | .. |
|---|
| 113 | 110 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
|---|
| 114 | 111 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
|---|
| 115 | 112 | #define _TIF_SINGLESTEP (1<<TIF_SINGLESTEP) |
|---|
| 113 | +#define _TIF_NOTIFY_SIGNAL (1<<TIF_NOTIFY_SIGNAL) |
|---|
| 116 | 114 | #define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG) |
|---|
| 117 | 115 | |
|---|
| 118 | 116 | |
|---|