diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-05-27 16:19:45 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 03:13:06 -0400 |
commit | 03be750559b2fe20d85dd968e08d5fe1c3accf83 (patch) | |
tree | 4a8fa76244a20573472c44aa96654c1a79634416 /arch/x86/kernel/io_apic_32.c | |
parent | 24742ece8eb01b5855059020ba1c09173fd9b732 (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_32.c')
-rw-r--r-- | arch/x86/kernel/io_apic_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index b381f93b79ae..63a2f64c765b 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c | |||
@@ -1316,7 +1316,7 @@ static void __init setup_timer_IRQ0_pin(unsigned int apic, unsigned int pin, | |||
1316 | * to the first CPU. | 1316 | * to the first CPU. |
1317 | */ | 1317 | */ |
1318 | entry.dest_mode = INT_DEST_MODE; | 1318 | entry.dest_mode = INT_DEST_MODE; |
1319 | entry.mask = 0; /* unmask IRQ now */ | 1319 | entry.mask = 1; /* mask IRQ now */ |
1320 | entry.dest.logical.logical_dest = cpu_mask_to_apicid(TARGET_CPUS); | 1320 | entry.dest.logical.logical_dest = cpu_mask_to_apicid(TARGET_CPUS); |
1321 | entry.delivery_mode = INT_DELIVERY_MODE; | 1321 | entry.delivery_mode = INT_DELIVERY_MODE; |
1322 | entry.polarity = 0; | 1322 | entry.polarity = 0; |