Skip to content

Commit

Permalink
OMAP: Fix IOMEM macro for assembly
Browse files Browse the repository at this point in the history
Otherwise IOMEM calculations can fail.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed Jun 23, 2009
1 parent cb5793d commit 503dcbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/plat-omap/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 503dcbe

Please sign in to comment.