diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-07 19:01:38 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-11-11 17:19:49 +0100 |
commit | a1fd79ad0d906b736228684f5040a637de86d2b2 (patch) | |
tree | 63f2126e84d7172e82ee332f56fe278be920fb9c /arch/parisc/include/asm | |
parent | 5ace77e0b41af6b9a3a8cd189a79270e8840fe0a (diff) | |
download | linux-a1fd79ad0d906b736228684f5040a637de86d2b2.tar.bz2 |
parisc: remove __ioremap
__ioremap is always called with the _PAGE_NO_CACHE, so fold the whole
thing and rename it to ioremap.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include/asm')
-rw-r--r-- | arch/parisc/include/asm/io.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h index 93d37010b375..46212b52c23e 100644 --- a/arch/parisc/include/asm/io.h +++ b/arch/parisc/include/asm/io.h @@ -127,16 +127,7 @@ static inline void gsc_writeq(unsigned long long val, unsigned long addr) /* * The standard PCI ioremap interfaces */ - -extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsigned long flags); - -/* Most machines react poorly to I/O-space being cacheable... Instead let's - * define ioremap() in terms of ioremap_nocache(). - */ -static inline void __iomem * ioremap(unsigned long offset, unsigned long size) -{ - return __ioremap(offset, size, _PAGE_NO_CACHE); -} +void __iomem *ioremap(unsigned long offset, unsigned long size); #define ioremap_nocache(off, sz) ioremap((off), (sz)) #define ioremap_wc ioremap_nocache #define ioremap_uc ioremap_nocache |