KVM paravirt: Move kvm_smp_prepare_boot_cpu() from kvmclock.c to kvm.c.
authorGleb Natapov <gleb@redhat.com>
Thu, 14 Oct 2010 09:22:49 +0000 (11:22 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:10 +0000 (11:23 +0200)
commitca3f10172eea9b95bbb66487656f3c3e93855702
tree286b7c659b6e7c6c1e901f727fb6aad5a328eeb6
parent49c7754ce57063b819b01eb8a4290841ad0886c4
KVM paravirt: Move kvm_smp_prepare_boot_cpu() from kvmclock.c to kvm.c.

Async PF also needs to hook into smp_prepare_boot_cpu so move the hook
into generic code.

Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_para.h
arch/x86/kernel/kvm.c
arch/x86/kernel/kvmclock.c