diff options
author | Christoph Hellwig <hch@lst.de> | 2019-10-16 09:09:38 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-11-11 23:18:19 +0300 |
commit | d092a87073269677b7ff09e71a8d91912b7f969a (patch) | |
tree | e86ed34b3710397845f249bf12ff9ef88463df20 /arch/nios2/include/asm/io.h | |
parent | 97c9801a15e5b0c9a20e495b2ccabf010894e74b (diff) | |
download | linux-d092a87073269677b7ff09e71a8d91912b7f969a.tar.xz |
arch: rely on asm-generic/io.h for default ioremap_* definitions
Various architectures that use asm-generic/io.h still defined their
own default versions of ioremap_nocache, ioremap_wt and ioremap_wc
that point back to plain ioremap directly or indirectly. Remove these
definitions and rely on asm-generic/io.h instead. For this to work
the backup ioremap_* defintions needs to be changed to purely cpp
macros instea of inlines to cover for architectures like openrisc
that only define ioremap after including <asm-generic/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 'arch/nios2/include/asm/io.h')
-rw-r--r-- | arch/nios2/include/asm/io.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 74ab34aa6731..d108937c321e 100644 --- a/arch/nios2/include/asm/io.h +++ b/arch/nios2/include/asm/io.h @@ -33,10 +33,6 @@ static inline void iounmap(void __iomem *addr) __iounmap(addr); } -#define ioremap_nocache ioremap -#define ioremap_wc ioremap -#define ioremap_wt ioremap - /* Pages to physical address... */ #define page_to_phys(page) virt_to_phys(page_to_virt(page)) |