OSDN Git Service

riscv: use the generic ioremap code
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Aug 2019 09:27:56 +0000 (11:27 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 11 Nov 2019 20:18:20 +0000 (21:18 +0100)
commit38af57825313f6c9404b42c4e4fa22311f60383a
tree024d79648181663339e4a8d521ef7f561cacb2f2
parent80b0ca98f91ddbc09828aff5a00af1c73837713e
riscv: use the generic ioremap code

Use the generic ioremap code instead of providing a local version.
Note that this relies on the asm-generic no-op definition of
pgprot_noncached.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Tested-by: Paul Walmsley <paul.walmsley@sifive.com> # rv32, rv64 boot
Acked-by: Paul Walmsley <paul.walmsley@sifive.com> # arch/riscv
arch/riscv/Kconfig
arch/riscv/include/asm/io.h
arch/riscv/include/asm/pgtable.h
arch/riscv/mm/Makefile
arch/riscv/mm/ioremap.c [deleted file]