summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2008-07-21 18:30:12 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-01 12:43:01 -0700
commitf26eb5b7962376661e7ddd5c8e7ba3da692b7122 (patch)
treef043dd5d681e38f099642bb58d35bda0c5364b36 /include
parent6c6748b28299ab09172b387c98bb7204e8d043b0 (diff)
downloadlinux-stable-f26eb5b7962376661e7ddd5c8e7ba3da692b7122.tar.gz
linux-stable-f26eb5b7962376661e7ddd5c8e7ba3da692b7122.tar.bz2
linux-stable-f26eb5b7962376661e7ddd5c8e7ba3da692b7122.zip
Fix typos from signal_32/64.h merge
commit 723edb5060855ef36ddeca51a070784b0e0d16df upstream Fallout from commit 33185c504f8e521b398536b5a8d415779a24593c ("x86: merge signal_32/64.h") Thanks to Dick Streefland who provided an useful testcase on http://lkml.org/lkml/2008/3/17/205 (only applicable to 2.6.24.x), that helped a lot as a deterministic way to bisect an issue that leaded to this fix. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/signal.h b/include/asm-x86/signal.h
index f15186d39c69..6dac49364e95 100644
--- a/include/asm-x86/signal.h
+++ b/include/asm-x86/signal.h
@@ -181,12 +181,12 @@ typedef struct sigaltstack {
#ifdef __KERNEL__
#include <asm/sigcontext.h>
-#ifdef __386__
+#ifdef __i386__
#define __HAVE_ARCH_SIG_BITOPS
#define sigaddset(set,sig) \
- (__builtin_constantp(sig) \
+ (__builtin_constant_p(sig) \
? __const_sigaddset((set), (sig)) \
: __gen_sigaddset((set), (sig)))