diff options
author | Anton Blanchard <anton@samba.org> | 2010-01-31 21:33:18 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-17 04:02:48 +0100 |
commit | c86845ede8b643ca025aec277dec1892d0ccac01 (patch) | |
tree | f8c79ef42af9866f37de9287535f6c801cab8b36 /arch/powerpc/platforms/powermac/pic.c | |
parent | powerpc: Reduce footprint of xics_ipi_struct (diff) | |
download | linux-c86845ede8b643ca025aec277dec1892d0ccac01.tar.xz linux-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/platforms/powermac/pic.c')
0 files changed, 0 insertions, 0 deletions