]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: fx_init() needs preemption disabled while it plays with the FPU state
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Jul 2007 06:29:56 +0000 (16:29 +1000)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:20 +0000 (10:18 +0200)
commit5b523f3185d0b05fd8d39a9aeb2228655bdd6f61
tree811e7ac5e8571e172fce8b7199830f9f511440ba
parent1900250dae76ccbc98a3dedac8871f3e2470d20a
KVM: fx_init() needs preemption disabled while it plays with the FPU state

Now that kvm generally runs with preemption enabled, we need to protect
the fpu intialization sequence.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm_main.c