]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i386: write IO APIC irq routing entries in correct order
authorLinus Torvalds <torvalds@macmini.osdl.org>
Wed, 1 Nov 2006 18:05:35 +0000 (10:05 -0800)
committerLinus Torvalds <torvalds@macmini.osdl.org>
Wed, 1 Nov 2006 18:06:52 +0000 (10:06 -0800)
commitf9dadfa71bc594df09044da61d1c72701121d802
treeffbd7d1b53b5393f078476e3dbe78284d7d847d4
parent130fe05dbc0114609cfef9815c0c5580b42decfa
i386: write IO APIC irq routing entries in correct order

Since the "mask" bit is in the low word, when we write a new entry, we
need to write the high word first, before we potentially unmask it.

The exception is when we actually want to mask the interrupt, in which
case we want to write the low word first to make sure that the high word
doesn't change while the interrupt routing is still active.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/io_apic.c