Skip to content

Commit f350b17

Browse files
Matt Flemingtorvalds
authored andcommitted
sparc: make SA_NOMASK a synonym of SA_NODEFER
Unlike other architectures, sparc currently has no SA_NODEFER definition but only the older SA_NOMASK. Since SA_NOMASK is the historical name for SA_NODEFER, add SA_NODEFER and copy what other architectures do by making SA_NOMASK a synonym for SA_NODEFER. Signed-off-by: Matt Fleming <[email protected]> Acked-by: Oleg Nesterov <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 9b467e6 commit f350b17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/sparc/include/asm/signal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,11 @@ struct sigstack {
143143
#define SA_ONSTACK _SV_SSTACK
144144
#define SA_RESTART _SV_INTR
145145
#define SA_ONESHOT _SV_RESET
146-
#define SA_NOMASK 0x20u
146+
#define SA_NODEFER 0x20u
147147
#define SA_NOCLDWAIT 0x100u
148148
#define SA_SIGINFO 0x200u
149149

150+
#define SA_NOMASK SA_NODEFER
150151

151152
#define SIG_BLOCK 0x01 /* for blocking signals */
152153
#define SIG_UNBLOCK 0x02 /* for unblocking signals */

0 commit comments

Comments
 (0)