aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq_64.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-24 22:04:36 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:53:12 -0400
commit7564676813780e0ba4dacf95338202cb72d2172d (patch)
treef540b5896823a279c96910f10a5dcf00f673f02d /arch/x86/kernel/irq_64.c
parentaac3f2b6f6e88827432c4050ac73552f24b19de1 (diff)
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_64.c')
-rw-r--r--arch/x86/kernel/irq_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c
index c2fca89a3f7e..ec2661091283 100644
--- a/arch/x86/kernel/irq_64.c
+++ b/arch/x86/kernel/irq_64.c
@@ -112,7 +112,7 @@ int show_interrupts(struct seq_file *p, void *v)
112 action = desc->action; 112 action = desc->action;
113 if (!action && !any_count) 113 if (!action && !any_count)
114 goto skip; 114 goto skip;
115 seq_printf(p, "%#x: ",i); 115 seq_printf(p, "%3d: ", i);
116#ifndef CONFIG_SMP 116#ifndef CONFIG_SMP
117 seq_printf(p, "%10u ", kstat_irqs(i)); 117 seq_printf(p, "%10u ", kstat_irqs(i));
118#else 118#else