| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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. |
|---|
| 7 | 4 | * |
|---|
| 8 | 5 | * Vineetg: Oct 2009 |
|---|
| 9 | 6 | * No need for ARC specific thread_info allocator (kmalloc/free). This is |
|---|
| .. | .. |
|---|
| 82 | 79 | #define TIF_SIGPENDING 2 /* signal pending */ |
|---|
| 83 | 80 | #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ |
|---|
| 84 | 81 | #define TIF_SYSCALL_AUDIT 4 /* syscall auditing active */ |
|---|
| 82 | +#define TIF_NOTIFY_SIGNAL 5 /* signal notifications exist */ |
|---|
| 85 | 83 | #define TIF_SYSCALL_TRACE 15 /* syscall trace active */ |
|---|
| 86 | 84 | |
|---|
| 87 | 85 | /* true if poll_idle() is polling TIF_NEED_RESCHED */ |
|---|
| .. | .. |
|---|
| 92 | 90 | #define _TIF_SIGPENDING (1<<TIF_SIGPENDING) |
|---|
| 93 | 91 | #define _TIF_NEED_RESCHED (1<<TIF_NEED_RESCHED) |
|---|
| 94 | 92 | #define _TIF_SYSCALL_AUDIT (1<<TIF_SYSCALL_AUDIT) |
|---|
| 93 | +#define _TIF_NOTIFY_SIGNAL (1<<TIF_NOTIFY_SIGNAL) |
|---|
| 95 | 94 | #define _TIF_MEMDIE (1<<TIF_MEMDIE) |
|---|
| 96 | 95 | |
|---|
| 97 | 96 | /* work to do on interrupt/exception return */ |
|---|
| 98 | 97 | #define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING | \ |
|---|
| 99 | | - _TIF_NOTIFY_RESUME) |
|---|
| 98 | + _TIF_NOTIFY_RESUME | _TIF_NOTIFY_SIGNAL) |
|---|
| 100 | 99 | |
|---|
| 101 | 100 | /* |
|---|
| 102 | 101 | * _TIF_ALLWORK_MASK includes SYSCALL_TRACE, but we don't need it. |
|---|