]> www.infradead.org Git - users/jedix/linux-maple.git/commit
parisc: Remove memcpy_fromio
authorJulian Vetter <julian@outer-limits.org>
Thu, 30 Jan 2025 13:48:25 +0000 (14:48 +0100)
committerHelge Deller <deller@gmx.de>
Mon, 3 Feb 2025 18:27:00 +0000 (19:27 +0100)
commit4e3ff3c5854ff584842bb2cfa484e4aa79d998bf
tree1548282a4b7402427950d25beea487332a1e40c1
parent579e5fd927adb2faede602b2ff5a40849da96ad5
parisc: Remove memcpy_fromio

Fully migrate parisc to the IO functions from lib/iomem_copy.c. In a
recent patch the functions memset_io and memcpy_toio were removed, but
the memcpy_fromio was kept, because for very short sequences it does
half word accesses, whereas the functions in lib/iomem_copy.c do byte
accesses until the memory is naturally aligned and then do machine word
accesses. But I don't think the single half-word access merits keeping
the arch specific implementation, so, remove it as well.

Signed-off-by: Julian Vetter <julian@outer-limits.org>
Acked-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