diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-01-10 18:11:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-10 19:30:54 -0500 |
commit | f350b1778f1b7713ef54fbc7e079e09e2fe098b9 (patch) | |
tree | 8f14a0c2d4ebbc4aab33b14facff2e321f15938d /arch/sparc/include/asm | |
parent | 9b467e6ebebbe75288aeb7e816ffbb5d35d6eaa3 (diff) |
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 <matt.fleming@intel.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/include/asm')
-rw-r--r-- | arch/sparc/include/asm/signal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/signal.h b/arch/sparc/include/asm/signal.h index e49b828a2471..aa42fe30d5b9 100644 --- a/arch/sparc/include/asm/signal.h +++ b/arch/sparc/include/asm/signal.h | |||
@@ -143,10 +143,11 @@ struct sigstack { | |||
143 | #define SA_ONSTACK _SV_SSTACK | 143 | #define SA_ONSTACK _SV_SSTACK |
144 | #define SA_RESTART _SV_INTR | 144 | #define SA_RESTART _SV_INTR |
145 | #define SA_ONESHOT _SV_RESET | 145 | #define SA_ONESHOT _SV_RESET |
146 | #define SA_NOMASK 0x20u | 146 | #define SA_NODEFER 0x20u |
147 | #define SA_NOCLDWAIT 0x100u | 147 | #define SA_NOCLDWAIT 0x100u |
148 | #define SA_SIGINFO 0x200u | 148 | #define SA_SIGINFO 0x200u |
149 | 149 | ||
150 | #define SA_NOMASK SA_NODEFER | ||
150 | 151 | ||
151 | #define SIG_BLOCK 0x01 /* for blocking signals */ | 152 | #define SIG_BLOCK 0x01 /* for blocking signals */ |
152 | #define SIG_UNBLOCK 0x02 /* for unblocking signals */ | 153 | #define SIG_UNBLOCK 0x02 /* for unblocking signals */ |