Skip to content
Commit 80ab6f1e authored by Linus Torvalds's avatar Linus Torvalds
Browse files

i387: use 'restore_fpu_checking()' directly in task switching code



This inlines what is usually just a couple of instructions, but more
importantly it also fixes the theoretical error case (can that FPU
restore really ever fail? Maybe we should remove the checking).

We can't start sending signals from within the scheduler, we're much too
deep in the kernel and are holding the runqueue lock etc.  So don't
bother even trying.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cea20ca3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment