]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Fix typos from signal_32/64.h merge
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Mon, 14 Jul 2008 20:40:23 +0000 (17:40 -0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 15:59:13 +0000 (17:59 +0200)
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>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/signal.h

index f15186d39c69a0a249bcebf110ac02a9d7ab951c..6dac49364e9528c6e76d9478bf00ab9ed6b6d3bc 100644 (file)
@@ -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)))