]> git.karo-electronics.de Git - linux-beck.git/commitdiff
perf_counter: fix alignment in /proc/interrupts
authorLuis Henriques <henrix@sapo.pt>
Mon, 13 Apr 2009 19:24:50 +0000 (20:24 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Apr 2009 20:16:51 +0000 (22:16 +0200)
Trivial fix on columns alignment in /proc/interrupts file.

Signed-off-by: Luis Henriques <henrix@sapo.pt>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090413192449.GA3920@hades.domain.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irq.c

index dccaaa8557897612fed25f8eb4392a37ba3ae876..849cfabb1fdceef2390c8447bfa7d190acd04848 100644 (file)
@@ -67,7 +67,7 @@ static int show_other_interrupts(struct seq_file *p, int prec)
        for_each_online_cpu(j)
                seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs);
        seq_printf(p, "  Performance counter interrupts\n");
-       seq_printf(p, "PND: ");
+       seq_printf(p, "%*s: ", prec, "PND");
        for_each_online_cpu(j)
                seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs);
        seq_printf(p, "  Performance pending work\n");