KVM: avoid fx_init() schedule in atomic
authorAndrea Arcangeli <andrea@qumranet.com>
Thu, 1 May 2008 16:43:33 +0000 (18:43 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 4 May 2008 11:44:48 +0000 (14:44 +0300)
commitbc1a34f1bf354fabc03e3f465620c80e510d0e8f
treef16228a547097d8d7ad621064c463f3e92cc9557
parentb4f14abd95cd8d42f08438f1c4ec3eafe41054ee
KVM: avoid fx_init() schedule in atomic

This make sure not to schedule in atomic during fx_init. I also
changed the name of fpu_init to fx_finit to avoid duplicating the name
with fpu_init that is already used in the kernel, this makes grep
simpler if nothing else.

Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c
include/asm-x86/kvm_host.h