diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-22 19:19:14 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-11 09:10:14 +0300 |
commit | 1cdab55d8a8313f77a95fb8ca966dc4334f8e810 (patch) | |
tree | 09649768514553e9c25d1a5a53a5cd567d0e138d /arch/powerpc/include/asm/machdep.h | |
parent | 16962e7ce1dce29e1e92d231ac7d6844d7385d54 (diff) | |
download | linux-1cdab55d8a8313f77a95fb8ca966dc4334f8e810.tar.xz |
powerpc: Wire up /proc/vmallocinfo to our ioremap()
This adds the necessary bits and pieces to powerpc implementation of
ioremap to benefit from caller tracking in /proc/vmallocinfo, at least
for ioremap's done after mem init as the older ones aren't tracked.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
-rw-r--r-- | arch/powerpc/include/asm/machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/machdep.h b/arch/powerpc/include/asm/machdep.h index 6c34a0df82fd..0efdb1dfdc5f 100644 --- a/arch/powerpc/include/asm/machdep.h +++ b/arch/powerpc/include/asm/machdep.h @@ -90,7 +90,7 @@ struct machdep_calls { void (*tce_flush)(struct iommu_table *tbl); void __iomem * (*ioremap)(phys_addr_t addr, unsigned long size, - unsigned long flags); + unsigned long flags, void *caller); void (*iounmap)(volatile void __iomem *token); #ifdef CONFIG_PM |