mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 08:01:59 +00:00
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:
parent
222bfda032
commit
fc4dbea733
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user