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

Linus Walleij linus.walleij at linaro.org
Tue Mar 13 04:51:59 EDT 2012


On Sun, Mar 11, 2012 at 10:08 PM, 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>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

For:

>  arch/arm/mach-u300/include/mach/u300-regs.h     |    6 ------

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list