]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59122fafa9e4ef100e9abd5c11a1172d9a875af0
treef16228a547097d8d7ad621064c463f3e92cc9557
parent5a9524dfbfac8f4db2ee66486003b750d0f381d6
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