diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-08-24 05:01:44 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:53:01 -0400 |
commit | 457cc52d4670bcf1470606a108bbf35aac28eb7f (patch) | |
tree | 0f0b17316e7e277250fa352952f1ae45b89b8193 /arch/x86/kernel/apic_32.c | |
parent | 89c38c2867ebe37c4c5aee23e7fa1bffb025b171 (diff) |
x86: apic_32.c should use __cpuinit section
All callers are __init or __cpuinit so there is no need
to hold this code without CPU_HOTPLUG being set.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r-- | arch/x86/kernel/apic_32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index f8c1251984e2..4ca3717b3026 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c | |||
@@ -383,7 +383,7 @@ static void lapic_timer_broadcast(cpumask_t mask) | |||
383 | * Setup the local APIC timer for this CPU. Copy the initilized values | 383 | * Setup the local APIC timer for this CPU. Copy the initilized values |
384 | * of the boot CPU and register the clock event in the framework. | 384 | * of the boot CPU and register the clock event in the framework. |
385 | */ | 385 | */ |
386 | static void __devinit setup_APIC_timer(void) | 386 | static void __cpuinit setup_APIC_timer(void) |
387 | { | 387 | { |
388 | struct clock_event_device *levt = &__get_cpu_var(lapic_events); | 388 | struct clock_event_device *levt = &__get_cpu_var(lapic_events); |
389 | 389 | ||
@@ -652,7 +652,7 @@ void __init setup_boot_APIC_clock(void) | |||
652 | setup_APIC_timer(); | 652 | setup_APIC_timer(); |
653 | } | 653 | } |
654 | 654 | ||
655 | void __devinit setup_secondary_APIC_clock(void) | 655 | void __cpuinit setup_secondary_APIC_clock(void) |
656 | { | 656 | { |
657 | setup_APIC_timer(); | 657 | setup_APIC_timer(); |
658 | } | 658 | } |
@@ -1713,7 +1713,7 @@ static struct sys_device device_lapic = { | |||
1713 | .cls = &lapic_sysclass, | 1713 | .cls = &lapic_sysclass, |
1714 | }; | 1714 | }; |
1715 | 1715 | ||
1716 | static void __devinit apic_pm_activate(void) | 1716 | static void __cpuinit apic_pm_activate(void) |
1717 | { | 1717 | { |
1718 | apic_pm_state.active = 1; | 1718 | apic_pm_state.active = 1; |
1719 | } | 1719 | } |