Skip to content
Snippets Groups Projects
Commit c41bf8fa authored by Jan Kiszka's avatar Jan Kiszka Committed by Andi Kleen
Browse files

[PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu


There are two callers of __unlazy_fpu, unlazy_fpu and __switch_to, and
none of them appear to require additional preempt_disable/enable here.
Let's open-code save_init_fpu in __unlazy_fpu to save a few ops.

Signed-off-by: default avatarJan Kiszka <jan.kiszka@web.de>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 02b64dab
No related branches found
No related tags found
No related merge requests found
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