diff options
| author | Christoph Hellwig <hch@lst.de> | 2019-08-12 23:27:12 +0200 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2019-11-11 17:19:49 +0100 |
| commit | ac32292c8552f7e8517be184e65dd09786e991f9 (patch) | |
| tree | fe9a865012c610d7eeb47aeeb05031724171ec16 /arch/hexagon/include | |
| parent | fded1829a24b34006664c72e580df5410fd900f5 (diff) | |
| download | blackbird-op-linux-ac32292c8552f7e8517be184e65dd09786e991f9.tar.gz blackbird-op-linux-ac32292c8552f7e8517be184e65dd09786e991f9.zip | |
hexagon: clean up ioremap
Use ioremap as the main implemented function, and defined
ioremap_nocache to it as a deprecated alias.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/hexagon/include')
| -rw-r--r-- | arch/hexagon/include/asm/io.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/hexagon/include/asm/io.h b/arch/hexagon/include/asm/io.h index ba1a444d55b3..89537dc1cf97 100644 --- a/arch/hexagon/include/asm/io.h +++ b/arch/hexagon/include/asm/io.h @@ -171,16 +171,9 @@ static inline void writel(u32 data, volatile void __iomem *addr) #define writew_relaxed __raw_writew #define writel_relaxed __raw_writel -/* - * Need an mtype somewhere in here, for cache type deals? - * This is probably too long for an inline. - */ -void __iomem *ioremap_nocache(unsigned long phys_addr, unsigned long size); +void __iomem *ioremap(unsigned long phys_addr, unsigned long size); +#define ioremap_nocache ioremap -static inline void __iomem *ioremap(unsigned long phys_addr, unsigned long size) -{ - return ioremap_nocache(phys_addr, size); -} static inline void iounmap(volatile void __iomem *addr) { |

