summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/irq.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2009-10-13 21:45:00 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-10-30 07:21:31 +0100
commit750ab112919220a1d14491ae210b689bcb7d6d66 (patch)
tree4d2cb0c572438c088d062acd83c7f2dbb8055c27 /arch/powerpc/include/asm/irq.h
parentpowerpc: Make virq_debug_show() cope with sparse irq_descs (diff)
downloadlinux-750ab112919220a1d14491ae210b689bcb7d6d66.tar.xz
linux-750ab112919220a1d14491ae210b689bcb7d6d66.zip
powerpc: Rearrange and fix show_interrupts() for sparse irq_descs
Move the default case out of the if, ie. when we're just displaying an irq. And consolidate all the odd cases at the top, ie. printing the header and footer. And in the process cope with sparse irq_descs. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/irq.h')
0 files changed, 0 insertions, 0 deletions