提交 503dcbeb 编写于 作者: T Tony Lindgren

OMAP: Fix IOMEM macro for assembly

Otherwise IOMEM calculations can fail.
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 cb5793db
......@@ -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))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册