projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3cded
)
sh: Stub in P3 ioremap support for nommu parts.
author
Paul Mundt
<lethal@linux-sh.org>
Mon, 14 Dec 2009 05:55:45 +0000
(14:55 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 14 Dec 2009 05:55:45 +0000
(14:55 +0900)
p3_ioremap() references __ioremap() which is presently undefined on
nommu. This provides a trivial stub to fix the build up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/io.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/io.h
b/arch/sh/include/asm/io.h
index 988c1be58e5157dc764489dbb454cf52ac9589f8..026dd659a6400cf70f6105167cfa927e4670f978 100644
(file)
--- a/
arch/sh/include/asm/io.h
+++ b/
arch/sh/include/asm/io.h
@@
-277,6
+277,7
@@
__ioremap_mode(unsigned long offset, unsigned long size, unsigned long flags)
return __ioremap(offset, size, flags);
}
#else
+#define __ioremap(offset, size, flags) ((void __iomem *)(offset))
#define __ioremap_mode(offset, size, flags) ((void __iomem *)(offset))
#define __iounmap(addr) do { } while (0)
#endif /* CONFIG_MMU */