From: Cyrill Gorcunov Date: Sun, 24 Aug 2008 09:01:39 +0000 (-0700) Subject: x86: apic_64.c - setup_APIC_timer has to be __cpuinit function X-Git-Tag: v2.6.28-rc1~80^2~90 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=db4b5525caafd846ec20f95afbc6403c792e22cf;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index cd860856a0b..8f551276681 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) * Setup the local APIC timer for this CPU. Copy the initilized values * of the boot CPU and register the clock event in the framework. */ -static void setup_APIC_timer(void) +static void __cpuinit setup_APIC_timer(void) { struct clock_event_device *levt = &__get_cpu_var(lapic_events);