]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Add __ioread64_copy
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 04:36:15 +0000 (21:36 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Sep 2017 11:53:14 +0000 (13:53 +0200)
commitad0e9d3e4c3d3464277286b48e8315e9d459a2a6
treed4838fdfa7faccde33dcce4bc3261e818d448309
parent62885e54880ea948d2afb35068a797cb28bcaefe
MIPS: Add __ioread64_copy

We currently have __ioread32_copy, __iowrite32_copy & __iowrite64_copy
helpers in lib/iomap_copy.c. This patch adds __ioread64_copy to round
out the set, allowing copies from I/O memory using 32 or 64 bit reads.

[ralf@linux-mips.org: Changed to move all the code of this patch to be
applied to arch/mips temporarily.]

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17025/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/io.h
arch/mips/lib/Makefile
arch/mips/lib/iomap_copy.c [new file with mode: 0644]