summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/kvm_para.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2010-10-14 13:22:49 +0400
committerAvi Kivity <avi@redhat.com>2011-01-12 12:23:10 +0300
commitca3f10172eea9b95bbb66487656f3c3e93855702 (patch)
tree286b7c659b6e7c6c1e901f727fb6aad5a328eeb6 /arch/x86/include/asm/kvm_para.h
parent49c7754ce57063b819b01eb8a4290841ad0886c4 (diff)
downloadlinux-ca3f10172eea9b95bbb66487656f3c3e93855702.tar.xz
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>
Diffstat (limited to 'arch/x86/include/asm/kvm_para.h')
-rw-r--r--arch/x86/include/asm/kvm_para.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_para.h b/arch/x86/include/asm/kvm_para.h
index 7b562b6184bc..e3faaaf4301e 100644
--- a/arch/x86/include/asm/kvm_para.h
+++ b/arch/x86/include/asm/kvm_para.h
@@ -65,6 +65,7 @@ struct kvm_mmu_op_release_pt {
#include <asm/processor.h>
extern void kvmclock_init(void);
+extern int kvm_register_clock(char *txt);
/* This instruction is vmcall. On non-VT architectures, it will generate a