sh: Update debugfs ASID dumping for 16-bit ASID support.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 17 Mar 2009 08:59:31 +0000 (17:59 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 17 Mar 2009 08:59:31 +0000 (17:59 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/asids-debugfs.c

index 8e912a15e94f4583e1f4a8fe488b1dc45128e766..cd8c3bf39b5a8390efbc22df4e8523af05714d99 100644 (file)
@@ -37,10 +37,8 @@ static int asids_seq_show(struct seq_file *file, void *iter)
                        continue;
 
                if (p->mm)
-                       seq_printf(file, "%5d : %02lx\n", pid,
+                       seq_printf(file, "%5d : %04lx\n", pid,
                                   cpu_asid(smp_processor_id(), p->mm));
-               else
-                       seq_printf(file, "%5d : (none)\n", pid);
        }
 
        read_unlock(&tasklist_lock);