From: David S. Miller Date: Sun, 11 Jan 2009 07:44:45 +0000 (-0800) Subject: sparc: Fix asm/signal.h for 32-bit. X-Git-Tag: v2.6.29-rc2~106^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc4dbea733119b37d36d0006b8be778db2601946;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: David S. Miller --- diff --git a/arch/sparc/include/asm/signal.h b/arch/sparc/include/asm/signal.h index 41535e7..cba4520 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