ARM: create a common IOMEM definition
authorRob Herring <rob.herring@calxeda.com>
Sat, 10 Mar 2012 16:30:31 +0000 (10:30 -0600)
committerRob Herring <rob.herring@calxeda.com>
Wed, 14 Mar 2012 02:22:09 +0000 (21:22 -0500)
commit6f6f6a70295c6a4f89c7aca015c5db247a79d609
treee4927c35c999c3e999ac2c286f32cdeb54b81282
parent6f71e9213c1dd31c44824e95ea4441883fceaf9c
ARM: create a common IOMEM definition

Several platforms create IOMEM defines for casting to 'void __iomem *',
and other platforms are incorrectly using __io() macro for the same
purpose. This creates a common definition and removes all the platform
specific versions. Rather than try to make linux/io.h and asm/io.h
assembly safe, the assembly version of IOMEM is moved into
asm/assembler.h.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: David Brown <davidb@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Viresh Kumar <viresh.kumar@st.com>
Cc: Rajeev Kumar <rajeev-dlh.kumar@st.com>
Cc: Colin Cross <ccross@android.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
25 files changed:
arch/arm/include/asm/assembler.h
arch/arm/include/asm/io.h
arch/arm/kernel/debug.S
arch/arm/kernel/entry-armv.S
arch/arm/mach-davinci/include/mach/hardware.h
arch/arm/mach-davinci/include/mach/uncompress.h
arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
arch/arm/mach-mmp/include/mach/addr-map.h
arch/arm/mach-msm/include/mach/msm_iomap-7x00.h
arch/arm/mach-msm/include/mach/msm_iomap.h
arch/arm/mach-mxs/include/mach/hardware.h
arch/arm/mach-omap1/ams-delta-fiq-handler.S
arch/arm/mach-omap1/iomap.h
arch/arm/mach-omap2/clock3xxx_data.c
arch/arm/mach-omap2/clock44xx_data.c
arch/arm/mach-omap2/iomap.h
arch/arm/mach-rpc/include/mach/hardware.h
arch/arm/mach-spear3xx/clock.c
arch/arm/mach-spear6xx/clock.c
arch/arm/mach-tegra/include/mach/iomap.h
arch/arm/mach-u300/include/mach/u300-regs.h
arch/arm/plat-mxc/include/mach/hardware.h
arch/arm/plat-omap/include/plat/hardware.h
arch/arm/plat-omap/include/plat/usb.h
arch/arm/plat-spear/include/plat/hardware.h