commit | 80b0ca98f91ddbc09828aff5a00af1c73837713e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Aug 13 11:24:04 2019 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Mon Nov 11 21:18:20 2019 +0100 |
tree | 9d88b3bd5945b7408861a6297b23164323bac713 | |
parent | 98c90e5ea34e98bdd4bcb67c48a0bdfd59bcd6cd [diff] |
lib: provide a simple generic ioremap implementation A lot of architectures reuse the same simple ioremap implementation, so start lifting the most simple variant to lib/ioremap.c. It provides ioremap_prot and iounmap, plus a default ioremap that uses prot_noncached, although that can be overridden by asm/io.h. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Palmer Dabbelt <palmer@dabbelt.com>