Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ddd6fc7923fbcfbb53f9431cbc981b1c12636e14
Commit:     ddd6fc7923fbcfbb53f9431cbc981b1c12636e14
Parent:     1f3b6045f783ee394076ad6dba2d72ecaaecd243
Author:     Kenji Kaneshige <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 31 20:06:13 2007 +0900
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Tue Nov 6 15:40:52 2007 -0800

    [IA64] Clean up /proc/interrupts output
    
    Clean up /proc/interrupts output on the system that has 10 or more
    CPUs.
    
    Signed-off-by: Kenji Kaneshige <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/irq.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c
index 44be1c9..6dee579 100644
--- a/arch/ia64/kernel/irq.c
+++ b/arch/ia64/kernel/irq.c
@@ -61,9 +61,11 @@ int show_interrupts(struct seq_file *p, void *v)
        unsigned long flags;
 
        if (i == 0) {
-               seq_printf(p, "           ");
+               char cpuname[16];
+               seq_printf(p, "     ");
                for_each_online_cpu(j) {
-                       seq_printf(p, "CPU%d       ",j);
+                       snprintf(cpuname, 10, "CPU%d", j);
+                       seq_printf(p, "%10s ", cpuname);
                }
                seq_putc(p, '\n');
        }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to