• Anton Blanchard's avatar
    powerpc: Rework /proc/interrupts · c86845ed
    Anton Blanchard authored
    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: default avatarAnton Blanchard <anton@samba.org>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    c86845ed
irq.c 27.7 KB