[PATCH 6/7] x86: irq no should not use hex in /proc/interrupts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Wednesday, September 24, 2008 - 7:04 pm

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
 arch/x86/kernel/irq_32.c |    2 +-
 arch/x86/kernel/irq_64.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/irq_32.c b/arch/x86/kernel/irq_32.c
index b2e1082..001772f 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
diff --git a/arch/x86/kernel/irq_64.c b/arch/x86/kernel/irq_64.c
index c2fca89..ec26610 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)
 		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
-- 
1.5.6

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 3/7] pci: using %pF in quirks.c, Yinghai Lu, (Wed Sep 24, 7:04 pm)
[PATCH 4/7] mm: print out meminit for memmap, Yinghai Lu, (Wed Sep 24, 7:04 pm)
[PATCH 5/7] x86: fix typo in irq_desc array, Yinghai Lu, (Wed Sep 24, 7:04 pm)
[PATCH 6/7] x86: irq no should not use hex in /proc/interrupts, Yinghai Lu, (Wed Sep 24, 7:04 pm)
[PATCH 7/7] x86: print out irq nr for msi/ht, Yinghai Lu, (Wed Sep 24, 7:04 pm)
Re: [PATCH 4/7] mm: print out meminit for memmap, Ingo Molnar, (Thu Sep 25, 1:35 am)
Re: [PATCH 5/7] x86: fix typo in irq_desc array, Ingo Molnar, (Thu Sep 25, 1:36 am)
Re: [PATCH 3/7] pci: using %pF in quirks.c, Jesse Barnes, (Thu Sep 25, 7:52 am)
Re: [PATCH 3/7] pci: using %pF in quirks.c, Bjorn Helgaas, (Thu Sep 25, 7:56 am)
Re: [PATCH 3/7] pci: using %pF in quirks.c, Jesse Barnes, (Thu Sep 25, 9:20 am)