aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh64/mm/ioremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh64/mm/ioremap.c')
-rw-r--r--arch/sh64/mm/ioremap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh64/mm/ioremap.c b/arch/sh64/mm/ioremap.c
index fb1866fa2c9d1d..80c56754f51309 100644
--- a/arch/sh64/mm/ioremap.c
+++ b/arch/sh64/mm/ioremap.c
@@ -449,7 +449,9 @@ ioremap_proc_info(char *buf, char **start, off_t fpos, int length, int *eof,
if (p + 32 >= e) /* Better than nothing */
break;
if ((nm = r->name) == 0) nm = "???";
- p += sprintf(p, "%08lx-%08lx: %s\n", r->start, r->end, nm);
+ p += sprintf(p, "%08lx-%08lx: %s\n",
+ (unsigned long)r->start,
+ (unsigned long)r->end, nm);
}
return p-buf;