]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: unify the implementation of FPU traps
authorH. Peter Anvin <hpa@zytor.com>
Thu, 25 Dec 2008 18:39:01 +0000 (10:39 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 25 Dec 2008 18:39:01 +0000 (10:39 -0800)
commita73ad3331fdbf4191cf99b83ea9ac7082b6757ba
tree32edbf588c7469b88291d4d801b40e3bd0f2acbe
parent1fcccb008be12ea823aaa392758e1e41fb82de9a
x86: unify the implementation of FPU traps

On 32 bits, we may suffer IRQ 13, or supposedly we might have a buggy
implementation which gives spurious trap 16.  We did not check for
this on 64 bits, but there is no reason we can't make the code the
same in both cases.  Furthermore, this is presumably rare, so do the
spurious check last, instead of first.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/traps.c