summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/power4-pmu.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/kernel/power4-pmu.c
parentfda9d86100e0b412d0c8a16abe0651c8c8e39e81 (diff)
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/kernel/power4-pmu.c')
0 files changed, 0 insertions, 0 deletions