From: viresh.kumar@st.com (Viresh Kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: create a common IOMEM definition
Date: Mon, 12 Mar 2012 09:53:18 +0530 [thread overview]
Message-ID: <4F5D7A36.8030601@st.com> (raw)
In-Reply-To: <1331500100-31351-4-git-send-email-robherring2@gmail.com>
On 3/12/2012 2:38 AM, Rob Herring wrote:
> From: Rob Herring <rob.herring@calxeda.com>
>
> 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>
> Cc: 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>
> Cc: 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>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Paul Walmsley <paul@pwsan.com>
> Cc: 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>
> Cc: Linus Walleij <linus.walleij@stericsson.com>
> ---
> arch/arm/include/asm/assembler.h | 2 ++
> arch/arm/include/asm/io.h | 2 ++
> arch/arm/kernel/debug.S | 1 +
> arch/arm/kernel/entry-armv.S | 1 +
> arch/arm/mach-davinci/include/mach/hardware.h | 6 ------
> arch/arm/mach-davinci/include/mach/uncompress.h | 2 ++
> arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 9 ---------
> arch/arm/mach-mmp/include/mach/addr-map.h | 6 ------
> arch/arm/mach-msm/include/mach/msm_iomap-7x00.h | 6 ------
> arch/arm/mach-msm/include/mach/msm_iomap.h | 6 ------
> arch/arm/mach-mxs/include/mach/hardware.h | 6 ------
> arch/arm/mach-omap1/ams-delta-fiq-handler.S | 1 +
> arch/arm/mach-omap1/iomap.h | 6 ------
> arch/arm/mach-omap2/clock3xxx_data.c | 1 +
> arch/arm/mach-omap2/clock44xx_data.c | 1 +
> arch/arm/mach-omap2/iomap.h | 6 ------
> arch/arm/mach-rpc/include/mach/hardware.h | 6 ------
> arch/arm/mach-spear3xx/clock.c | 1 +
> arch/arm/mach-spear6xx/clock.c | 1 +
> arch/arm/mach-tegra/include/mach/iomap.h | 6 ------
> arch/arm/mach-u300/include/mach/u300-regs.h | 6 ------
> arch/arm/plat-mxc/include/mach/hardware.h | 6 ------
> arch/arm/plat-omap/include/plat/hardware.h | 6 ------
> arch/arm/plat-omap/include/plat/usb.h | 1 -
> arch/arm/plat-spear/include/plat/hardware.h | 6 ------
> 25 files changed, 13 insertions(+), 88 deletions(-)
>
[For SPEAr]
Acked-by: Viresh Kumar <viresh.kumar@st.com>
--
viresh
next prev parent reply other threads:[~2012-03-12 4:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-11 21:08 [PATCH 0/4] mach/io.h cleanup fixes Rob Herring
2012-03-11 21:08 ` [PATCH 1/4] ARM: fix ioremap/iounmap for !CONFIG_MMU Rob Herring
2012-03-11 21:08 ` [PATCH 2/4] ARM: iop13xx: fix missing declaration of iop13xx_init_early Rob Herring
2012-03-11 21:08 ` [PATCH 3/4] ARM: create a common IOMEM definition Rob Herring
2012-03-11 21:34 ` Arnd Bergmann
2012-03-12 18:33 ` Rob Herring
2012-03-12 21:15 ` Arnd Bergmann
2012-03-12 4:23 ` Viresh Kumar [this message]
2012-03-12 18:42 ` Paul Walmsley
2012-03-13 8:51 ` Linus Walleij
2012-03-13 16:32 ` H Hartley Sweeten
2012-03-13 17:21 ` Tony Lindgren
2012-03-13 21:40 ` David Brown
2012-03-14 3:24 ` Olof Johansson
2012-03-14 7:11 ` Haojian Zhuang
2012-03-11 21:08 ` [PATCH 4/4] ARM: __io abuse cleanup Rob Herring
2012-03-11 21:35 ` Arnd Bergmann
2012-03-12 19:42 ` Anton Vorontsov
2012-03-13 8:56 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F5D7A36.8030601@st.com \
--to=viresh.kumar@st.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).