Skip to content

Commit

Permalink
x86: KVM guest: make kvm_smp_prepare_boot_cpu() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Avi Kivity committed Jul 20, 2008
1 parent 0da1db7 commit 7e37c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/kvmclock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7e37c29

Please sign in to comment.