summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Henriques <henrix@sapo.pt>2009-04-13 20:24:50 +0100
committerIngo Molnar <mingo@elte.hu>2009-04-13 22:16:51 +0200
commit0f3fd87ce43727d6b8573191ce89e874533b1429 (patch)
tree47c240edc4a2476150004b7de531e814f903d6ad
parentd3d21c412d8525eb2e208d990ab5eee5fb0fe03d (diff)
perf_counter: fix alignment in /proc/interrupts
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>
-rw-r--r--arch/x86/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index dccaaa85578..849cfabb1fd 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -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");