ARM: Add caller information to ioremap
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Dec 2009 11:10:03 +0000 (11:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Feb 2010 21:39:11 +0000 (21:39 +0000)
commit31aa8fd6fd30b0f36416df7d09619768d26b4332
treed44a7edc5287cf73df43206712e3736ae9b1de5a
parent7284ce6c9f6153d1777df5f310c959724d1bd446
ARM: Add caller information to ioremap

This allows the procfs vmallocinfo file to show who created the ioremap
regions.  Note: __builtin_return_address(0) doesn't do what's expected
if its used in an inline function, so we leave __arm_ioremap callers
in such places alone.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/io.h
arch/arm/mach-davinci/io.c
arch/arm/mach-iop13xx/io.c
arch/arm/mach-msm/io.c
arch/arm/mm/ioremap.c
arch/arm/mm/nommu.c
arch/arm/plat-iop/io.c
arch/arm/plat-omap/io.c