summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/kvmclock.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-01 00:19:19 +0200
committerAvi Kivity <avi@qumranet.com>2008-07-20 11:42:37 +0200
commit7e37c2998a5a0b00134f6227167694b710f57ac0 (patch)
tree8f42fea23dade722d1a10b90187834bab02162b2 /arch/x86/kernel/kvmclock.c
parentKVM: SVM: fix suspend/resume support (diff)
downloadlinux-7e37c2998a5a0b00134f6227167694b710f57ac0.tar.xz
linux-7e37c2998a5a0b00134f6227167694b710f57ac0.zip
x86: KVM guest: make kvm_smp_prepare_boot_cpu() static
This patch makes the needlessly global kvm_smp_prepare_boot_cpu() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'arch/x86/kernel/kvmclock.c')
-rw-r--r--arch/x86/kernel/kvmclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c
index 87edf1ceb1df..d02def06ca91 100644
--- a/arch/x86/kernel/kvmclock.c
+++ b/arch/x86/kernel/kvmclock.c
@@ -113,7 +113,7 @@ static void kvm_setup_secondary_clock(void)
#endif
#ifdef CONFIG_SMP
-void __init kvm_smp_prepare_boot_cpu(void)
+static void __init kvm_smp_prepare_boot_cpu(void)
{
WARN_ON(kvm_register_clock("primary cpu clock"));
native_smp_prepare_boot_cpu();