public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make kvm_smp_prepare_boot_cpu() static
@ 2008-06-30 22:19 Adrian Bunk
  2008-07-05 11:13 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-06-30 22:19 UTC (permalink / raw)
  To: Gerd Hoffmann, Avi Kivity; +Cc: kvm, linux-kernel

This patch makes the needlessly global kvm_smp_prepare_boot_cpu() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
a03ee2a21c4e40483712d453a4f803980186c59f 
diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c
index 87edf1c..d02def0 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();


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6 patch] make kvm_smp_prepare_boot_cpu() static
  2008-06-30 22:19 [2.6 patch] make kvm_smp_prepare_boot_cpu() static Adrian Bunk
@ 2008-07-05 11:13 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-07-05 11:13 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Gerd Hoffmann, kvm, linux-kernel

Adrian Bunk wrote:
> This patch makes the needlessly global kvm_smp_prepare_boot_cpu() static.
>
>   

Applied, thanks.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-05 11:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 22:19 [2.6 patch] make kvm_smp_prepare_boot_cpu() static Adrian Bunk
2008-07-05 11:13 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox