[PATCH 3/4] ARM: create a common IOMEM definition

Haojian Zhuang haojian.zhuang at gmail.com
Wed Mar 14 03:11:16 EDT 2012


On Mon, Mar 12, 2012 at 5:08 AM, Rob Herring <robherring2 at gmail.com> wrote:
> From: Rob Herring <rob.herring at 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 at calxeda.com>
>
>  arch/arm/mach-mmp/include/mach/addr-map.h       |    6 ------

Acked-by: Haojian Zhuang <haojian.zhuang at gmail.com>



More information about the linux-arm-kernel mailing list