diff options
author | Tony Lindgren <tony@atomide.com> | 2009-06-23 16:55:30 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-06-23 16:56:05 +0300 |
commit | 503dcbeba50fd3545283594bc391b4a400fa6c48 (patch) | |
tree | 77b8f63b3719c079131e2a88e923d0a6398cc3b4 /arch | |
parent | cb5793db5ecf108594d8006ae838e47996a76a19 (diff) |
OMAP: Fix IOMEM macro for assembly
Otherwise IOMEM calculations can fail.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/include/mach/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/mach/io.h b/arch/arm/plat-omap/include/mach/io.h index 3b281472056..73f483d56ca 100644 --- a/arch/arm/plat-omap/include/mach/io.h +++ b/arch/arm/plat-omap/include/mach/io.h @@ -201,7 +201,7 @@ #define OMAP2_IO_ADDRESS(pa) IOMEM(__OMAP2_IO_ADDRESS(pa)) #ifdef __ASSEMBLER__ -#define IOMEM(x) x +#define IOMEM(x) (x) #else #define IOMEM(x) ((void __force __iomem *)(x)) |