summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/traps.c
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-12-23 21:50:11 +0530
committerIngo Molnar <mingo@elte.hu>2008-12-25 11:49:55 +0100
commit1fcccb008be12ea823aaa392758e1e41fb82de9a (patch)
treef4ad51ce4929f44917971cfeab38ba3c5afbb08d /arch/x86/kernel/traps.c
parentadf77bac052bb5bf0722b2ce2af9fefc5b2d2a71 (diff)
downloadop-kernel-dev-1fcccb008be12ea823aaa392758e1e41fb82de9a.zip
op-kernel-dev-1fcccb008be12ea823aaa392758e1e41fb82de9a.tar.gz
x86: traps.c replace #if CONFIG_X86_32 with #ifdef CONFIG_X86_32
Impact: cleanup, avoid warning on X86_64 Fixes this warning on X86_64: CC arch/x86/kernel/traps.o arch/x86/kernel/traps.c:695:5: warning: "CONFIG_X86_32" is not defined Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/traps.c')
-rw-r--r--arch/x86/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c
index c320c29..f37cee7 100644
--- a/arch/x86/kernel/traps.c
+++ b/arch/x86/kernel/traps.c
@@ -691,7 +691,7 @@ void math_error(void __user *ip)
err = swd & ~cwd & 0x3f;
-#if CONFIG_X86_32
+#ifdef CONFIG_X86_32
if (!err)
return;
#endif
OpenPOWER on IntegriCloud