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)
commit9bd01506ee551689b90ba5822c28ef55207146af
tree811e7ac5e8571e172fce8b7199830f9f511440ba
parent11ec2804711896546ee3c945f3786c7f9fdd175a
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