diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-09 01:44:30 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-09 01:44:30 -0400 |
commit | 6dbe47a170f80159f23c856ad4e02f2685c6f6cb (patch) | |
tree | 9c2a6a3e686b76fead3f11db2c54fe27077f4393 /arch | |
parent | 2fedaacdc07e053d93e0607047a96d282f62aca2 (diff) |
sh: Provide __read_{read,write}sl() definitions for sh64.
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/include/asm/io.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h index c7c360b58667..25348141674b 100644 --- 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, \ | |||
123 | 123 | ||
124 | __BUILD_MEMORY_STRING(b, u8) | 124 | __BUILD_MEMORY_STRING(b, u8) |
125 | __BUILD_MEMORY_STRING(w, u16) | 125 | __BUILD_MEMORY_STRING(w, u16) |
126 | __BUILD_MEMORY_STRING(q, u64) | ||
127 | 126 | ||
127 | #ifdef CONFIG_SUPERH32 | ||
128 | void __raw_writesl(void __iomem *addr, const void *data, int longlen); | 128 | void __raw_writesl(void __iomem *addr, const void *data, int longlen); |
129 | void __raw_readsl(const void __iomem *addr, void *data, int longlen); | 129 | void __raw_readsl(const void __iomem *addr, void *data, int longlen); |
130 | #else | ||
131 | __BUILD_MEMORY_STRING(l, u32) | ||
132 | #endif | ||
133 | |||
134 | __BUILD_MEMORY_STRING(q, u64) | ||
130 | 135 | ||
131 | #define writesb __raw_writesb | 136 | #define writesb __raw_writesb |
132 | #define writesw __raw_writesw | 137 | #define writesw __raw_writesw |