x86: I/O APIC: keep IRQ off when changing LVT registers
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 21 May 2008 21:09:34 +0000 (22:09 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 07:12:56 +0000 (09:12 +0200)
commit60134ebe795b728dbb960485a8e873c3250ada36
tree2647ef04bf610bb41a90d93929cf7cbdafeb61e5
parente67465f1298671266a8e824c1751afdb7c08c860
x86: I/O APIC: keep IRQ off when changing LVT registers

Disable the 8259A acting in the "virtual wire" mode to keep the interrupt
line inactive while fiddling with local APIC interrupt vector registers
associated with its destination inputs.  To be on the safe side,
especially concerning flipping the trigger mode.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/io_apic_64.c