diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index f746f9dc8ced..f74b1c20e5c0 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -783,7 +783,7 @@ static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen) | |||
783 | apic_write(APIC_TMICT, clocks); | 783 | apic_write(APIC_TMICT, clocks); |
784 | } | 784 | } |
785 | 785 | ||
786 | static void setup_APIC_timer(unsigned int clocks) | 786 | static void setup_APIC_timer(void) |
787 | { | 787 | { |
788 | unsigned long flags; | 788 | unsigned long flags; |
789 | int irqen; | 789 | int irqen; |
@@ -792,7 +792,7 @@ static void setup_APIC_timer(unsigned int clocks) | |||
792 | 792 | ||
793 | irqen = ! cpu_isset(smp_processor_id(), | 793 | irqen = ! cpu_isset(smp_processor_id(), |
794 | timer_interrupt_broadcast_ipi_mask); | 794 | timer_interrupt_broadcast_ipi_mask); |
795 | __setup_APIC_LVTT(clocks, 0, irqen); | 795 | __setup_APIC_LVTT(calibration_result, 0, irqen); |
796 | /* Turn off PIT interrupt if we use APIC timer as main timer. | 796 | /* Turn off PIT interrupt if we use APIC timer as main timer. |
797 | Only works with the PM timer right now | 797 | Only works with the PM timer right now |
798 | TBD fix it for HPET too. */ | 798 | TBD fix it for HPET too. */ |
@@ -879,7 +879,7 @@ void __init setup_boot_APIC_clock (void) | |||
879 | /* | 879 | /* |
880 | * Now set up the timer for real. | 880 | * Now set up the timer for real. |
881 | */ | 881 | */ |
882 | setup_APIC_timer(calibration_result); | 882 | setup_APIC_timer(); |
883 | 883 | ||
884 | local_irq_enable(); | 884 | local_irq_enable(); |
885 | } | 885 | } |
@@ -887,7 +887,7 @@ void __init setup_boot_APIC_clock (void) | |||
887 | void __cpuinit setup_secondary_APIC_clock(void) | 887 | void __cpuinit setup_secondary_APIC_clock(void) |
888 | { | 888 | { |
889 | local_irq_disable(); /* FIXME: Do we need this? --RR */ | 889 | local_irq_disable(); /* FIXME: Do we need this? --RR */ |
890 | setup_APIC_timer(calibration_result); | 890 | setup_APIC_timer(); |
891 | local_irq_enable(); | 891 | local_irq_enable(); |
892 | } | 892 | } |
893 | 893 | ||