projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'x86-64'
[powerpc.git]
/
include
/
asm-powerpc
/
signal.h
diff --git
a/include/asm-powerpc/signal.h
b/include/asm-powerpc/signal.h
index
694c8d2
..
a4d8f86
100644
(file)
--- 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>
#define _ASM_POWERPC_SIGNAL_H
#include <linux/types.h>
-#include <linux/config.h>
#define _NSIG 64
#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 */
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
typedef unsigned long old_sigset_t; /* at least 32 bits */