]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic: ioremap_uc should behave the same with and without MMU
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Aug 2019 05:53:05 +0000 (07:53 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 11 Nov 2019 20:18:12 +0000 (21:18 +0100)
commita30a8f1d0d837a652801a42cbf4e1ebef67396d8
tree92a321f8e50d9bb8b6ad23a2f6327f6f14060b99
parente96460e3406f2125a371acc451a95c379e4dc5e4
asm-generic: ioremap_uc should behave the same with and without MMU

Whatever reason there is for the existence of ioremap_uc, and the fact
that it returns NULL by default on architectures with an MMU applies
equally to nommu architectures, so don't provide different defaults.

In practice the difference is meaningless as the only portable driver
that uses ioremap_uc is atyfb which probably doesn't show up on nommu
devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Palmer Dabbelt <palmer@dabbelt.com>
include/asm-generic/io.h