aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/ioremap_64.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-12-14 14:23:41 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-12-14 14:23:41 +0900
commitbf3cdeda901c7f42de3cddc8c5aa19f6b8d8f9df (patch)
tree4f0ebc608a8ea53d723be1695fbc9606a255ae85 /arch/sh/mm/ioremap_64.c
parentsh: Make the unaligned trap handler always obey notification levels. (diff)
downloadlinux-dev-bf3cdeda901c7f42de3cddc8c5aa19f6b8d8f9df.tar.xz
linux-dev-bf3cdeda901c7f42de3cddc8c5aa19f6b8d8f9df.zip
sh: wire up vmallocinfo support in ioremap() implementations.
This wires up the caller information for the ioremap VMA, which allows for more helpful caller tracking via /proc/vmallocinfo. Follows the x86 and powerpc changes of the same nature. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/ioremap_64.c')
-rw-r--r--arch/sh/mm/ioremap_64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/mm/ioremap_64.c b/arch/sh/mm/ioremap_64.c
index b16843d02b76..ef434657d428 100644
--- a/arch/sh/mm/ioremap_64.c
+++ b/arch/sh/mm/ioremap_64.c
@@ -258,15 +258,15 @@ static void shmedia_unmapioaddr(unsigned long vaddr)
pte_clear(&init_mm, vaddr, ptep);
}
-void __iomem *__ioremap(unsigned long offset, unsigned long size,
- unsigned long flags)
+void __iomem *__ioremap_caller(unsigned long offset, unsigned long size,
+ unsigned long flags, void *caller)
{
char name[14];
sprintf(name, "phys_%08x", (u32)offset);
return shmedia_alloc_io(offset, size, name, flags);
}
-EXPORT_SYMBOL(__ioremap);
+EXPORT_SYMBOL(__ioremap_caller);
void __iounmap(void __iomem *virtual)
{