diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-09-16 02:42:26 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-09-16 04:21:10 -0400 |
commit | 54e2603f1a85b9725aa13518d69148b6e7061aa9 (patch) | |
tree | 45308c36dcb9a641135e4f62ec4e6342822b74eb /arch/x86/kernel/x86_init.c | |
parent | e11dadabf443dc3101f28b74d8b9d56870a87db4 (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/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 24be7f397894..68824c7be4e2 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
@@ -23,7 +23,7 @@ void __init x86_init_pgd_noop(pgd_t *unused) { } | |||
23 | * The platform setup functions are preset with the default functions | 23 | * The platform setup functions are preset with the default functions |
24 | * for standard PC hardware. | 24 | * for standard PC hardware. |
25 | */ | 25 | */ |
26 | struct __initdata x86_init_ops x86_init = { | 26 | struct x86_init_ops x86_init __initdata = { |
27 | 27 | ||
28 | .resources = { | 28 | .resources = { |
29 | .probe_roms = x86_init_noop, | 29 | .probe_roms = x86_init_noop, |
@@ -64,7 +64,7 @@ struct __initdata x86_init_ops x86_init = { | |||
64 | }, | 64 | }, |
65 | }; | 65 | }; |
66 | 66 | ||
67 | __cpuinitdata struct x86_cpuinit_ops x86_cpuinit = { | 67 | struct x86_cpuinit_ops x86_cpuinit __cpuinitdata = { |
68 | .setup_percpu_clockev = setup_secondary_APIC_clock, | 68 | .setup_percpu_clockev = setup_secondary_APIC_clock, |
69 | }; | 69 | }; |
70 | 70 | ||