aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic_64.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-05-27 16:19:45 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 03:13:06 -0400
commit03be750559b2fe20d85dd968e08d5fe1c3accf83 (patch)
tree4a8fa76244a20573472c44aa96654c1a79634416 /arch/x86/kernel/io_apic_64.c
parent24742ece8eb01b5855059020ba1c09173fd9b732 (diff)
x86: I/O APIC: keep the timer IRQ masked during set-up
Keep the timer interrupt line masked when reconfiguring its interrupt redirection entry in the I/O APIC. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic_64.c')
-rw-r--r--arch/x86/kernel/io_apic_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index 0e20b7d7c1c7..ae0ac990574f 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -911,7 +911,7 @@ static void __init setup_timer_IRQ0_pin(unsigned int apic, unsigned int pin,
911 * to the first CPU. 911 * to the first CPU.
912 */ 912 */
913 entry.dest_mode = INT_DEST_MODE; 913 entry.dest_mode = INT_DEST_MODE;
914 entry.mask = 0; /* unmask IRQ now */ 914 entry.mask = 1; /* mask IRQ now */
915 entry.dest = cpu_mask_to_apicid(TARGET_CPUS); 915 entry.dest = cpu_mask_to_apicid(TARGET_CPUS);
916 entry.delivery_mode = INT_DELIVERY_MODE; 916 entry.delivery_mode = INT_DELIVERY_MODE;
917 entry.polarity = 0; 917 entry.polarity = 0;