[PATCH] Fix vmi time header bug

Zachary Amsden
2007-03-12T22:58:10Z

[-- Attachment #1: Type: text/plain, Size: 97 bytes --]

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

Zach

[-- Attachment #2: vmi-devinit-header-fix.patch --]
[-- Type: text/plain, Size: 605 bytes --]

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