asm-generic: don't provide ioremap for CONFIG_MMU
authorChristoph Hellwig <hch@lst.de>
Sun, 11 Aug 2019 12:53:20 +0000 (14:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 11 Nov 2019 20:18:19 +0000 (21:18 +0100)
commit97c9801a15e5b0c9a20e495b2ccabf010894e74b
tree9c5e1f7c2b7d399de0493f9af5433f2e6b51381a
parente97133959ad2942ae43c81a08858bef01bc0ec18
asm-generic: don't provide ioremap for CONFIG_MMU

All MMU-enabled ports have a non-trivial ioremap and should thus provide
the prototype for their implementation instead of providing a generic
one unless a different symbol is not defined.  Note that this only
affects sparc32 nds32 as all others do provide their own version.

Also update the kerneldoc comments in asm-generic/io.h to explain the
situation around the default ioremap* implementations correctly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
arch/nds32/include/asm/io.h
arch/sparc/include/asm/io_32.h
include/asm-generic/io.h