Skip to content
Commit 48797ebd authored by Linus Torvalds's avatar Linus Torvalds
Browse files

x86-64: write IO APIC irq routing entries in correct order

This is the x86-64 version of f9dadfa7


that did the same thing on i386.

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: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6c0ffb9d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment