From: Robert Reif <reif@xxxxxxxxxxxxx> Date: Sat, 10 Jan 2009 09:56:01 -0500 > David Miller wrote: > > From: Sam Ravnborg <sam@xxxxxxxxxxxx> > > Date: Sat, 10 Jan 2009 08:33:21 +0100 > > > > > >> The real fix should look like this: > >> > >> #ifdef __arch64__ > >> #define _NSIG_BPW 64 > >> #else > >> #define _NSIG_BPW 64 > >> #endif > >> > >> This is required because this header is exported to userspace > >> where we do not have access to CONFIG_* symbols. > >> > > > > I assume you meant to use "32" in the #else branch :-) > > This fixed it (with the 32). Thanks for testing Robert, I've just commited the following: 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@xxxxxxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> --- arch/sparc/include/asm/signal.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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 -- 1.6.1.15.g159c88 -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html