mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 11:53:53 +00:00
Presently with preempt enabled there's the possibility to be preempted after the TIF_USEDFPU test and the register save, leading to bogus state post-__switch_to(). Use an explicit preempt_disable()/enable() pair around unlazy_fpu()/clear_fpu() to avoid this. Follows the x86 change. Reported-by: Takuo Koguchi <[email protected]> Signed-off-by: Paul Mundt <[email protected]>