mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
OMAP: Fix IOMEM macro for assembly
Otherwise IOMEM calculations can fail. Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
cb5793db5e
commit
503dcbeba5
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user