diff options
| author | Julian Vetter <jvetter@kalrayinc.com> | 2024-10-28 14:42:26 +0100 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2024-10-28 21:44:29 +0000 |
| commit | 4c9397cf292f357fe13f3c7cd9f53240d062c18e (patch) | |
| tree | f66cf1ed55e77088bd0ce859e6883c005f48ddfc /arch/csky/include/asm | |
| parent | 0110feaaf6d0610d0089ae4897387df9a963b5f0 (diff) | |
csky: Use new fallback IO memcpy/memset
Use the new fallback memcpy_{from,to}io and memset_io functions from
lib/iomem_copy.c on the csky processor architecture.
Acked-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Yann Sionneau <ysionneau@kalrayinc.com>
Signed-off-by: Julian Vetter <jvetter@kalrayinc.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/include/asm')
| -rw-r--r-- | arch/csky/include/asm/io.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/csky/include/asm/io.h b/arch/csky/include/asm/io.h index 4725bb977b0f..ed53f0b47388 100644 --- a/arch/csky/include/asm/io.h +++ b/arch/csky/include/asm/io.h @@ -32,17 +32,6 @@ #endif /* - * String version of I/O memory access operations. - */ -extern void __memcpy_fromio(void *, const volatile void __iomem *, size_t); -extern void __memcpy_toio(volatile void __iomem *, const void *, size_t); -extern void __memset_io(volatile void __iomem *, int, size_t); - -#define memset_io(c,v,l) __memset_io((c),(v),(l)) -#define memcpy_fromio(a,c,l) __memcpy_fromio((a),(c),(l)) -#define memcpy_toio(c,a,l) __memcpy_toio((c),(a),(l)) - -/* * I/O memory mapping functions. */ #define ioremap_wc(addr, size) \ |
