[tip:perfcounters/core] perf_counter: fix alignment in /proc/interrupts
From: tip-bot for Luis Henriques
Date: Mon Apr 13 2009 - 16:28:50 EST
Commit-ID: 0f3fd87ce43727d6b8573191ce89e874533b1429
Gitweb: http://git.kernel.org/tip/0f3fd87ce43727d6b8573191ce89e874533b1429
Author: Luis Henriques <henrix@xxxxxxx>
AuthorDate: Mon, 13 Apr 2009 20:24:50 +0100
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Mon, 13 Apr 2009 22:16:51 +0200
perf_counter: fix alignment in /proc/interrupts
Trivial fix on columns alignment in /proc/interrupts file.
Signed-off-by: Luis Henriques <henrix@xxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
LKML-Reference: <20090413192449.GA3920@xxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
arch/x86/kernel/irq.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index dccaaa8..849cfab 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");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/