Commit f350b177 authored by Matt Fleming's avatar Matt Fleming Committed by Linus Torvalds

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: default avatarMatt Fleming <matt.fleming@intel.com>
Acked-by: default avatarOleg Nesterov <oleg@redhat.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9b467e6e
...@@ -143,10 +143,11 @@ struct sigstack { ...@@ -143,10 +143,11 @@ struct sigstack {
#define SA_ONSTACK _SV_SSTACK #define SA_ONSTACK _SV_SSTACK
#define SA_RESTART _SV_INTR #define SA_RESTART _SV_INTR
#define SA_ONESHOT _SV_RESET #define SA_ONESHOT _SV_RESET
#define SA_NOMASK 0x20u #define SA_NODEFER 0x20u
#define SA_NOCLDWAIT 0x100u #define SA_NOCLDWAIT 0x100u
#define SA_SIGINFO 0x200u #define SA_SIGINFO 0x200u
#define SA_NOMASK SA_NODEFER
#define SIG_BLOCK 0x01 /* for blocking signals */ #define SIG_BLOCK 0x01 /* for blocking signals */
#define SIG_UNBLOCK 0x02 /* for unblocking signals */ #define SIG_UNBLOCK 0x02 /* for unblocking signals */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment