From: Jaswinder Singh Date: Tue, 23 Dec 2008 16:20:11 +0000 (+0530) Subject: x86: traps.c replace #if CONFIG_X86_32 with #ifdef CONFIG_X86_32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1fcccb008be12ea823aaa392758e1e41fb82de9a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index c320c29255c2..f37cee75ab58 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