sparc: Fix asm/signal.h for 32-bit.

Fix a 32-bit sparc regression reported by Robert Reif.

_NSIG_BPW needs to be 32 for 32-bit and 64 for 64-bit

Tested-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2009-01-10 23:44:45 -08:00
parent 222bfda032
commit fc4dbea733

View File

@ -84,7 +84,11 @@
#define __OLD_NSIG 32 #define __OLD_NSIG 32
#define __NEW_NSIG 64 #define __NEW_NSIG 64
#ifdef __arch64__
#define _NSIG_BPW 64 #define _NSIG_BPW 64
#else
#define _NSIG_BPW 32
#endif
#define _NSIG_WORDS (__NEW_NSIG / _NSIG_BPW) #define _NSIG_WORDS (__NEW_NSIG / _NSIG_BPW)
#define SIGRTMIN 32 #define SIGRTMIN 32