x86: traps.c replace #if CONFIG_X86_32 with #ifdef CONFIG_X86_32
authorJaswinder Singh <jaswinder@infradead.org>
Tue, 23 Dec 2008 16:20:11 +0000 (21:50 +0530)
committerIngo Molnar <mingo@elte.hu>
Thu, 25 Dec 2008 10:49:55 +0000 (11:49 +0100)
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>
arch/x86/kernel/traps.c

index c320c29255c216b071755c5988a08baf3f127827..f37cee75ab58f87d3c6ac6c0224d9694e946359c 100644 (file)
@@ -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