OSDN Git Service

riscv: only select GENERIC_IOREMAP if MMU support is enabled
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Sep 2021 02:55:58 +0000 (19:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Sep 2021 18:50:24 +0000 (11:50 -0700)
commit8350229ffceb372621e277d4d36f1ffca6212135
tree35cc7551099faebb951226a92ecc2017fef2fec5
parentfe3df441ef885a75a3eff5e151ead1a92266d222
riscv: only select GENERIC_IOREMAP if MMU support is enabled

nommu ioremap is an inline stub in asm-generic/io.h.

Link: https://lkml.kernel.org/r/20210825072036.GA29161@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/riscv/Kconfig