diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-03-25 16:29:25 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 09:10:52 -0800 |
commit | 45948d7720e8bd0104696087c6305fdd90e3b298 (patch) | |
tree | 0da730feffeae60461117a07efdf2ada96704fa6 /arch/sparc | |
parent | 2b514e74f4e59e3b8e54891580fef2c9ff6c7bd0 (diff) |
[PATCH] x86_64: save FPU context slightly later
Touching of the floating point state in a kernel debugger must be
NMI-safe, specifically math_state_restore() must be able to deal with
being called out of an NMI context. In order to do that reliably, the
context switch code must take care to not leave a window open where
the current task's TS_USEDFPU flag and CR0.TS could get out of sync.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions