[PATCH] Fix vmi time header bug

From: Zachary Amsden
Date: Mon Mar 12 2007 - 18:58:26 EST


Some gcc put this function in .init.text because the header didn't match. For 2.6.21-rc.

Zach

Index: linux-2.6.21/include/asm-i386/vmi_time.h
===================================================================
--- linux-2.6.21.orig/include/asm-i386/vmi_time.h 2007-03-06 18:56:03.000000000 -0800
+++ linux-2.6.21/include/asm-i386/vmi_time.h 2007-03-12 13:55:16.000000000 -0800
@@ -54,7 +54,7 @@ extern unsigned long vmi_cpu_khz(void);

#ifdef CONFIG_X86_LOCAL_APIC
extern void __init vmi_timer_setup_boot_alarm(void);
-extern void __init vmi_timer_setup_secondary_alarm(void);
+extern void __devinit vmi_timer_setup_secondary_alarm(void);
extern void apic_vmi_timer_interrupt(void);
#endif