projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fedaac
)
sh: Provide __read_{read,write}sl() definitions for sh64.
author
Paul Mundt
<lethal@linux-sh.org>
Sat, 9 May 2009 05:44:30 +0000
(14:44 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Sat, 9 May 2009 05:44:30 +0000
(14:44 +0900)
These are presently only defined for sh32, use the plain unoptimized
versions for sh64. Fixes up smsc911x build.
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 c7c360b586671038105073eb83d1498ed8530bc2..25348141674ba0a4f1c806cc1a59715607100820 100644
(file)
--- a/
arch/sh/include/asm/io.h
+++ b/
arch/sh/include/asm/io.h
@@
-123,10
+123,15
@@
static inline void __raw_reads##bwlq(volatile void __iomem *mem, \
__BUILD_MEMORY_STRING(b, u8)
__BUILD_MEMORY_STRING(w, u16)
-__BUILD_MEMORY_STRING(q, u64)
+#ifdef CONFIG_SUPERH32
void __raw_writesl(void __iomem *addr, const void *data, int longlen);
void __raw_readsl(const void __iomem *addr, void *data, int longlen);
+#else
+__BUILD_MEMORY_STRING(l, u32)
+#endif
+
+__BUILD_MEMORY_STRING(q, u64)
#define writesb __raw_writesb
#define writesw __raw_writesw
This page took
0.024549 seconds
and
5
git commands to generate.