aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/apic.c')
-rw-r--r--arch/i386/kernel/apic.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
index a28a088f3e75..b905d7bb9a0d 100644
--- a/arch/i386/kernel/apic.c
+++ b/arch/i386/kernel/apic.c
@@ -364,7 +364,7 @@ void __init init_bsp_APIC(void)
364 apic_write_around(APIC_LVT1, value); 364 apic_write_around(APIC_LVT1, value);
365} 365}
366 366
367void __init setup_local_APIC (void) 367void __devinit setup_local_APIC(void)
368{ 368{
369 unsigned long oldvalue, value, ver, maxlvt; 369 unsigned long oldvalue, value, ver, maxlvt;
370 370
@@ -635,7 +635,7 @@ static struct sys_device device_lapic = {
635 .cls = &lapic_sysclass, 635 .cls = &lapic_sysclass,
636}; 636};
637 637
638static void __init apic_pm_activate(void) 638static void __devinit apic_pm_activate(void)
639{ 639{
640 apic_pm_state.active = 1; 640 apic_pm_state.active = 1;
641} 641}
@@ -856,7 +856,7 @@ fake_ioapic_page:
856 * but we do not accept timer interrupts yet. We only allow the BP 856 * but we do not accept timer interrupts yet. We only allow the BP
857 * to calibrate. 857 * to calibrate.
858 */ 858 */
859static unsigned int __init get_8254_timer_count(void) 859static unsigned int __devinit get_8254_timer_count(void)
860{ 860{
861 extern spinlock_t i8253_lock; 861 extern spinlock_t i8253_lock;
862 unsigned long flags; 862 unsigned long flags;
@@ -875,7 +875,7 @@ static unsigned int __init get_8254_timer_count(void)
875} 875}
876 876
877/* next tick in 8254 can be caught by catching timer wraparound */ 877/* next tick in 8254 can be caught by catching timer wraparound */
878static void __init wait_8254_wraparound(void) 878static void __devinit wait_8254_wraparound(void)
879{ 879{
880 unsigned int curr_count, prev_count; 880 unsigned int curr_count, prev_count;
881 881
@@ -895,7 +895,7 @@ static void __init wait_8254_wraparound(void)
895 * Default initialization for 8254 timers. If we use other timers like HPET, 895 * Default initialization for 8254 timers. If we use other timers like HPET,
896 * we override this later 896 * we override this later
897 */ 897 */
898void (*wait_timer_tick)(void) __initdata = wait_8254_wraparound; 898void (*wait_timer_tick)(void) __devinitdata = wait_8254_wraparound;
899 899
900/* 900/*
901 * This function sets up the local APIC timer, with a timeout of 901 * This function sets up the local APIC timer, with a timeout of
@@ -931,7 +931,7 @@ static void __setup_APIC_LVTT(unsigned int clocks)
931 apic_write_around(APIC_TMICT, clocks/APIC_DIVISOR); 931 apic_write_around(APIC_TMICT, clocks/APIC_DIVISOR);
932} 932}
933 933
934static void __init setup_APIC_timer(unsigned int clocks) 934static void __devinit setup_APIC_timer(unsigned int clocks)
935{ 935{
936 unsigned long flags; 936 unsigned long flags;
937 937
@@ -1044,7 +1044,7 @@ void __init setup_boot_APIC_clock(void)
1044 local_irq_enable(); 1044 local_irq_enable();
1045} 1045}
1046 1046
1047void __init setup_secondary_APIC_clock(void) 1047void __devinit setup_secondary_APIC_clock(void)
1048{ 1048{
1049 setup_APIC_timer(calibration_result); 1049 setup_APIC_timer(calibration_result);
1050} 1050}