aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/time.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-09-16 02:42:26 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-09-16 04:21:10 -0400
commit54e2603f1a85b9725aa13518d69148b6e7061aa9 (patch)
tree45308c36dcb9a641135e4f62ec4e6342822b74eb /arch/x86/kernel/time.c
parente11dadabf443dc3101f28b74d8b9d56870a87db4 (diff)
x86: platform: Fix section annotations
init_IRQ() and x86_late_time_init() are missing __init annotations. The x86 platform ops variables are annotated, but the annotation needs to be put between the variable name and the "=" of the initializer. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/time.c')
-rw-r--r--arch/x86/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/time.c b/arch/x86/kernel/time.c
index fcece00356a4..e293ac56c723 100644
--- a/arch/x86/kernel/time.c
+++ b/arch/x86/kernel/time.c
@@ -105,7 +105,7 @@ void __init hpet_time_init(void)
105 setup_default_timer_irq(); 105 setup_default_timer_irq();
106} 106}
107 107
108static void x86_late_time_init(void) 108static __init void x86_late_time_init(void)
109{ 109{
110 x86_init.timers.timer_init(); 110 x86_init.timers.timer_init();
111 tsc_init(); 111 tsc_init();