]> err.no Git - linux-2.6/commit
x86: add some pirq debugging
authorIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:00 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:00 +0000 (13:32 +0100)
commit7d409d6057c7244f8757ce15245f6df27271be0c
treea0eda73330dce6ee77f210c12deb3784b398f1f1
parent9f8daccaa05c14e5643bdd4faf5aed9cc8e6f11e
x86: add some pirq debugging

we use a few static mapping rules in our pirq routing functions,
and for example regression f3ac84324fd94 was due to the pirq
being out of range of the remapping array. Put in a few
WARN_ON_ONCE() lines so that we get notified about any such
out-of-bound incidents.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/pci/irq.c