i386/x86-64: adjust /proc/interrupts column headings
PATCH 69/82 i386/x86-64: adjust /proc/interrupts column headings
From: "Jan Beulich" <[email protected]>
With (significantly) more than 10 CPUs online, the column headings drifted off the positions of the column contents with growing CPU numbers.
Signed-off-by Jan Beulich <[email protected]>
Signed-off-by Andi Kleen <[email protected]>
--- arch/i386/kernel/irq.c | 2 +- arch/x86_64/kernel/irq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/i386/kernel/irq.c +1 -1
@@ -219,7 +219,7 @@ int show_interrupts(struct seq_file *p,if (i ==0 ) {seq_printf (p," " );for_each_online_cpu (j) -seq_printf (p,"CPU%d " ,j); +seq_printf (p,"CPU%-8d" ,j);seq_putc (p,'\n' ); }
arch/x86_64/kernel/irq.c +1 -1
@@ -39,7 +39,7 @@ int show_interrupts(struct seq_file *p,if (i ==0 ) {seq_printf (p," " );for_each_online_cpu (j) -seq_printf (p,"CPU%d " ,j); +seq_printf (p,"CPU%-8d" ,j);seq_putc (p,'\n' ); }