diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-13 11:24:04 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-11-11 21:18:20 +0100 |
commit | 80b0ca98f91ddbc09828aff5a00af1c73837713e (patch) | |
tree | 9d88b3bd5945b7408861a6297b23164323bac713 /lib/Kconfig | |
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>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 3321d04dfa5a..cb571767d080 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -637,6 +637,9 @@ config STRING_SELFTEST endmenu +config GENERIC_IOREMAP + bool + config GENERIC_LIB_ASHLDI3 bool |