diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-24 19:04:36 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:53:12 +0200 |
commit | 7564676813780e0ba4dacf95338202cb72d2172d (patch) | |
tree | f540b5896823a279c96910f10a5dcf00f673f02d /arch/x86/kernel/irq_32.c | |
parent | aac3f2b6f6e88827432c4050ac73552f24b19de1 (diff) | |
download | linux-7564676813780e0ba4dacf95338202cb72d2172d.tar.gz linux-7564676813780e0ba4dacf95338202cb72d2172d.tar.bz2 linux-7564676813780e0ba4dacf95338202cb72d2172d.zip |
x86: irq no should not use hex in /proc/interrupts
Arjan van de Ven noticed that we changed IRQ numbers from decimal
to hex in /proc/interrupts - that can break user-space utilities
like irqbalanced.
Reported-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/irq_32.c')
-rw-r--r-- | arch/x86/kernel/irq_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irq_32.c b/arch/x86/kernel/irq_32.c index b2e1082cf5ad..001772ffc918 100644 --- a/arch/x86/kernel/irq_32.c +++ b/arch/x86/kernel/irq_32.c @@ -307,7 +307,7 @@ int show_interrupts(struct seq_file *p, void *v) action = desc->action; if (!action && !any_count) goto skip; - seq_printf(p, "%#x: ",i); + seq_printf(p, "%3d: ", i); #ifndef CONFIG_SMP seq_printf(p, "%10u ", kstat_irqs(i)); #else |