summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/signal.h')
-rw-r--r--include/asm-powerpc/signal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/asm-powerpc/signal.h b/include/asm-powerpc/signal.h
index 694c8d2dab87..a4d8f8648541 100644
--- a/include/asm-powerpc/signal.h
+++ b/include/asm-powerpc/signal.h
@@ -2,10 +2,13 @@
#define _ASM_POWERPC_SIGNAL_H
#include <linux/types.h>
-#include <linux/config.h>
#define _NSIG 64
-#define _NSIG_BPW BITS_PER_LONG
+#ifdef __powerpc64__
+#define _NSIG_BPW 64
+#else
+#define _NSIG_BPW 32
+#endif
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
typedef unsigned long old_sigset_t; /* at least 32 bits */
OpenPOWER on IntegriCloud