summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/signal.h')
-rw-r--r--arch/sparc/include/asm/signal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/signal.h b/arch/sparc/include/asm/signal.h
index 41535e77b255..cba45206b7f2 100644
--- a/arch/sparc/include/asm/signal.h
+++ b/arch/sparc/include/asm/signal.h
@@ -84,7 +84,11 @@
#define __OLD_NSIG 32
#define __NEW_NSIG 64
+#ifdef __arch64__
#define _NSIG_BPW 64
+#else
+#define _NSIG_BPW 32
+#endif
#define _NSIG_WORDS (__NEW_NSIG / _NSIG_BPW)
#define SIGRTMIN 32
OpenPOWER on IntegriCloud