powerpc: Print information about mapping hw irqs to virtual irqs
authorMichael Ellerman <michael@ellerman.id.au>
Sun, 5 Apr 2009 16:05:02 +0000 (16:05 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Apr 2009 05:19:00 +0000 (15:19 +1000)
commitc7d07fdd5af084bbd0a7921f9b07037b9bc8829d
treea4204247e8106531ee09e91a249bf632eed4d2e2
parentcb93d568e1ed2596e27f35b39241fe83955d9b26
powerpc: Print information about mapping hw irqs to virtual irqs

The irq remapping layer seems to cause some confusion when people
see a different irq number in /proc/interrupts vs the one they
request in their driver or DTS.

So have the irq remapping layer print out a message when we map an
irq. The message is only printed the first time the irq is mapped,
and it's KERN_DEBUG so most people won't see it.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c