• Linus Torvalds's avatar
    i386: write IO APIC irq routing entries in correct order · f9dadfa7
    Linus Torvalds authored
    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>
    f9dadfa7
io_apic.c 70.8 KB