Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1305137
| From | "Maciej W. Rozycki" <macro@imgtec.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] MIPS: io.h: Define `ioremap_cache' |
| Date | 2016-01-09 03:10 +0100 |
| Message-ID | <qOR8B-78i-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Signed-off-by: Maciej W. Rozycki <macro@imgtec.com> --- Ralf, Please try and push it ASAP, with 4.5 if possible. This should be an obviously correct internal API consistency fix, along the lines of the recent `ioremap_uc' addition. NB, there's a fallback `ioremap_cache' implementation in kernel/memremap.c redirecting to plain `ioremap', but I think we should simply do the right thing rather than relying on that code. Thanks, Maciej linux-mips-ioremap-cache.diff Index: linux-sfr-test/arch/mips/include/asm/io.h =================================================================== --- linux-sfr-test.orig/arch/mips/include/asm/io.h 2015-10-07 19:33:20.000000000 +0100 +++ linux-sfr-test/arch/mips/include/asm/io.h 2016-01-09 01:32:14.432587000 +0000 @@ -275,6 +275,7 @@ static inline void __iomem * __ioremap_m */ #define ioremap_cachable(offset, size) \ __ioremap_mode((offset), (size), _page_cachable_default) +#define ioremap_cache ioremap_cachable /* * These two are MIPS specific ioremap variant. ioremap_cacheable_cow
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] MIPS: io.h: Define `ioremap_cache' "Maciej W. Rozycki" <macro@imgtec.com> - 2016-01-09 03:10 +0100
csiph-web