[PATCH] i386: avoid redundant preempt_disable in __unlazy_fpu
authorJan Kiszka <jan.kiszka@web.de>
Wed, 2 May 2007 17:27:21 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:21 +0000 (19:27 +0200)
commitc41bf8fa5e777b6a8a19cf2484937a7167eac77f
tree982494445301d399078fe6abdedc724843561f5d
parent02b64dab5675bc08048c7f70cbb0d8a417d20dbe
[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: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-i386/i387.h