i386: clean up io-apic accesses
authorLinus Torvalds <torvalds@macmini.osdl.org>
Wed, 1 Nov 2006 17:11:00 +0000 (09:11 -0800)
committerLinus Torvalds <torvalds@macmini.osdl.org>
Wed, 1 Nov 2006 17:11:00 +0000 (09:11 -0800)
commit130fe05dbc0114609cfef9815c0c5580b42decfa
tree1af977ef76bb369bfb5009c30bde7c495591bc98
parent4b1c46a383aafc137bc91a0f9698bfc11e062d1b
i386: clean up io-apic accesses

This is preparation for fixing the ordering of the accesses that
got broken by the commit cf4c6a2f27f5db810b69dcb1da7f194489e8ff88 when
factoring out the "common" io apic routing entry accesses.

Move the accessor function (that were only used by io_apic.c) out
of a header file, and use proper memory-mapped accesses rather than
making up our own "volatile" pointers.

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