diff options
author | Julian Vetter <jvetter@kalrayinc.com> | 2024-10-28 14:42:26 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-10-28 22:44:29 +0100 |
commit | 4c9397cf292f357fe13f3c7cd9f53240d062c18e (patch) | |
tree | f66cf1ed55e77088bd0ce859e6883c005f48ddfc /arch/csky/include | |
parent | arm64: Use new fallback IO memcpy/memset (diff) | |
download | linux-4c9397cf292f357fe13f3c7cd9f53240d062c18e.tar.xz linux-4c9397cf292f357fe13f3c7cd9f53240d062c18e.zip |
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')
-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) \ |