Commit | Line | Data |
---|---|---|
d3d3857f MJ |
1 | // SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
2 | // SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. | |
3 | // | |
4 | // SPDX-License-Identifier: LGPL-2.1-or-later | |
5 | ||
1a990de3 | 6 | #ifndef _STATIC_URCU_SIGNAL_NR_H |
7 | #define _STATIC_URCU_SIGNAL_NR_H | |
8 | ||
9 | /* | |
1a990de3 | 10 | * Userspace RCU header. |
11 | * | |
1a990de3 | 12 | * IBM's contributions to this file may be relicensed under LGPLv2 or later. |
13 | */ | |
14 | ||
15 | /* | |
16 | * The signal number used by the RCU library can be overridden with | |
17 | * -DSIGRCU= when compiling the library. | |
18 | * Provide backward compatibility for liburcu 0.3.x SIGURCU. | |
19 | */ | |
20 | #ifdef SIGURCU | |
21 | #define SIGRCU SIGURCU | |
22 | #endif | |
23 | ||
24 | #ifndef SIGRCU | |
25 | #define SIGRCU SIGUSR1 | |
26 | #endif | |
27 | ||
28 | #endif /* _STATIC_URCU_SIGNAL_NR_H */ |