projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
222bfda
)
sparc: Fix asm/signal.h for 32-bit.
author
David S. Miller
<davem@davemloft.net>
Sun, 11 Jan 2009 07:44:45 +0000
(23:44 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 11 Jan 2009 07:44:45 +0000
(23:44 -0800)
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>
arch/sparc/include/asm/signal.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/include/asm/signal.h
b/arch/sparc/include/asm/signal.h
index 41535e77b2551e7f7bb65a597786879207579684..cba45206b7f2e6eb975da848a4bbcbe4f190eb4e 100644
(file)
--- 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
This page took
0.025053 seconds
and
5
git commands to generate.