Skip to content

Commit

Permalink
x86: traps.c replace #if CONFIG_X86_32 with #ifdef CONFIG_X86_32
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh authored and Ingo Molnar committed Dec 25, 2008
1 parent adf77ba commit 1fcccb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fcccb0

Please sign in to comment.