summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irqinit.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-09-16 08:42:26 +0200
committerThomas Gleixner <tglx@linutronix.de>2009-09-16 10:21:10 +0200
commit54e2603f1a85b9725aa13518d69148b6e7061aa9 (patch)
tree45308c36dcb9a641135e4f62ec4e6342822b74eb /arch/x86/kernel/irqinit.c
parentx86: apic namespace cleanup (diff)
downloadlinux-54e2603f1a85b9725aa13518d69148b6e7061aa9.tar.xz
linux-54e2603f1a85b9725aa13518d69148b6e7061aa9.zip
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/irqinit.c')
-rw-r--r--arch/x86/kernel/irqinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c
index e0142cda2394..73b16649b7d1 100644
--- a/arch/x86/kernel/irqinit.c
+++ b/arch/x86/kernel/irqinit.c
@@ -140,7 +140,7 @@ void __init init_ISA_irqs(void)
}
}
-void init_IRQ(void)
+void __init init_IRQ(void)
{
x86_init.irqs.intr_init();
}