提交 7e37c299 编写于 作者: A Adrian Bunk 提交者: Avi Kivity

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: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 0da1db75
...@@ -113,7 +113,7 @@ static void kvm_setup_secondary_clock(void) ...@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册