Re: [PATCH] x86: traps.c replace #if CONFIG_X86_32 with #ifdef CONFIG_X86_32

From: Andi Kleen
Date: Tue Dec 23 2008 - 13:35:55 EST


On Tue, Dec 23, 2008 at 10:20:37AM -0800, H. Peter Anvin wrote:
> > return;
> > #endif
>
> Applied to tip:x86/fpu, thanks.
>
> Andi: you might have a perspective on this: in math_error() we bail out
> if there is no error on i386, but not on x86-64. I am rather assuming
> that is because it simply can't happen on x86-64 (no IRQ 13 bullshit) so
> it wasn't necessary?

Probably yes because it was not needed. Don't remember the exact circumstances,
sorry.

But dropping the #ifdef should be fine obviously.

-Andi
--
ak@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/