projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5793d
)
OMAP: Fix IOMEM macro for assembly
author
Tony Lindgren
<tony@atomide.com>
Tue, 23 Jun 2009 13:55:30 +0000
(16:55 +0300)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 23 Jun 2009 13:56:05 +0000
(16:56 +0300)
Otherwise IOMEM calculations can fail.
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/mach/io.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/plat-omap/include/mach/io.h
b/arch/arm/plat-omap/include/mach/io.h
index 3b28147205691a05df715d71a31d5e33fef858eb..73f483d56ca6a0180ea64d896f0979cf80318419 100644
(file)
--- 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))