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>
This commit is contained in:
parent
0da1db75a2
commit
7e37c2998a
|
@ -113,7 +113,7 @@ static void kvm_setup_secondary_clock(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#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"));
|
WARN_ON(kvm_register_clock("primary cpu clock"));
|
||||||
native_smp_prepare_boot_cpu();
|
native_smp_prepare_boot_cpu();
|
||||||
|
|
Loading…
Reference in New Issue