diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-08-24 05:01:39 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:53:00 -0400 |
commit | db4b5525caafd846ec20f95afbc6403c792e22cf (patch) | |
tree | 57c97ee508aa2478daa8b1d917920af38611b81c /arch/x86/kernel/apic_64.c | |
parent | 2699574b3c04351f5a23c8a842e17c303d7ebb6f (diff) |
x86: apic_64.c - setup_APIC_timer has to be __cpuinit function
There is no need to hold this code if CPU_HOTPLUG is not
defined.
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_64.c')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index cd860856a0b7..8f551276681e 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -400,7 +400,7 @@ static void lapic_timer_broadcast(cpumask_t mask) | |||
400 | * Setup the local APIC timer for this CPU. Copy the initilized values | 400 | * Setup the local APIC timer for this CPU. Copy the initilized values |
401 | * of the boot CPU and register the clock event in the framework. | 401 | * of the boot CPU and register the clock event in the framework. |
402 | */ | 402 | */ |
403 | static void setup_APIC_timer(void) | 403 | static void __cpuinit setup_APIC_timer(void) |
404 | { | 404 | { |
405 | struct clock_event_device *levt = &__get_cpu_var(lapic_events); | 405 | struct clock_event_device *levt = &__get_cpu_var(lapic_events); |
406 | 406 | ||