• Linus Torvalds's avatar
    Fix x86 "clear_cpu()" macro. · 8e24cc70
    Linus Torvalds authored
    We need to clear all exceptions before synchronizing
    with the FPU, since we aren't ready to handle a FP
    exception here and we're getting rid of all FP state.
    
    Special thanks to Alexander Nyberg for reports and
    testing. Alternate patches by Sergey Vlasov and Andi
    Kleen, who both worked on this.
    
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>  
    8e24cc70
i387.h 3.07 KB