]> www.infradead.org Git - users/jedix/linux-maple.git/commit
parisc: Remove memcpy_toio and memset_io
authorJulian Vetter <julian@outer-limits.org>
Wed, 4 Dec 2024 08:04:40 +0000 (09:04 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 7 Dec 2024 16:46:09 +0000 (17:46 +0100)
commitdf195d931a33889c96c0efebbbc6f3b747c145c6
tree590ef94ae0bc6535681b826eccf08f0767d238c3
parentadc218676eef25575469234709c2d87185ca223a
parisc: Remove memcpy_toio and memset_io

Recently new functions for IO memcpy and IO memset were added in
libs/iomem_copy.c. So, remove the arch specific implementations, to fall
back to the generic ones which do exactly the same. Keep memcpy_fromio
for now, because it's slight more optimized by doing 'u16' accesses if
the buffer is aligned this way.

Signed-off-by: Julian Vetter <julian@outer-limits.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/io.h
arch/parisc/kernel/parisc_ksyms.c
arch/parisc/lib/io.c