diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-10 10:17:19 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 10:44:03 +0100 |
commit | 35724a0aed6e62bdad640e8a1b8498329708226f (patch) | |
tree | c6cff78adaa62df45bd3fcbbbdc0e1d18cc28c17 /arch/sh/mm | |
parent | sh: Convert sh64 /proc/asids to debugfs and generic sh. (diff) | |
download | linux-35724a0aed6e62bdad640e8a1b8498329708226f.tar.xz linux-35724a0aed6e62bdad640e8a1b8498329708226f.zip |
sh: Fix up the cpu_asid() return value on nommu.
This ought to be unsigned long, rather than defaulting to int.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/asids-debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/asids-debugfs.c b/arch/sh/mm/asids-debugfs.c index 0678a1044a9a..8e912a15e94f 100644 --- a/arch/sh/mm/asids-debugfs.c +++ b/arch/sh/mm/asids-debugfs.c @@ -37,7 +37,7 @@ static int asids_seq_show(struct seq_file *file, void *iter) continue; if (p->mm) - seq_printf(file, "%5d : %02x\n", pid, + seq_printf(file, "%5d : %02lx\n", pid, cpu_asid(smp_processor_id(), p->mm)); else seq_printf(file, "%5d : (none)\n", pid); |