aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/ipic.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2010-01-31 20:33:18 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-02-17 14:02:48 +1100
commitc86845ede8b643ca025aec277dec1892d0ccac01 (patch)
treef8c79ef42af9866f37de9287535f6c801cab8b36 /arch/powerpc/sysdev/ipic.c
parentpowerpc: Reduce footprint of xics_ipi_struct (diff)
downloadlinux-dev-c86845ede8b643ca025aec277dec1892d0ccac01.tar.xz
linux-dev-c86845ede8b643ca025aec277dec1892d0ccac01.zip
powerpc: Rework /proc/interrupts
On a large machine I noticed the columns of /proc/interrupts failed to line up with the header after CPU9. At sufficiently large numbers of CPUs it becomes impossible to line up the CPU number with the counts. While fixing this I noticed x86 has a number of updates that we may as well pull in. On PowerPC we currently omit an interrupt completely if there is no active handler, whereas on x86 it is printed if there is a non zero count. The x86 code also spaces the first column correctly based on nr_irqs. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/ipic.c')
0 files changed, 0 insertions, 0 deletions