]> git.neil.brown.name Git - history.git/commit
[PATCH] use smp_processor_id() in init_IRQ()
authorMikael Pettersson <mikpe@csd.uu.se>
Thu, 22 Apr 2004 06:38:54 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 22 Apr 2004 06:38:54 +0000 (23:38 -0700)
commit98a5d354daf5357590bfc25521c91d67dc93de96
tree6fb474b8163f13122dc314d7dd5fac0711fa9d12
parent7bc2551d9ac0f5bce0386523d6d8e4c7afac3de8
[PATCH] use smp_processor_id() in init_IRQ()

This replaces current_thread_info()->cpu in i386' init_IRQ() by the
equivalent smp_processor_id().

Reduces overhead on UP, and makes the code cleaner.
arch/i386/kernel/i8259.c