Thread (53 messages) 53 messages, 9 authors, 2019-09-03

Re: [PATCH 17/26] arch: rely on asm-generic/io.h for default ioremap_* definitions

From: Paul Walmsley <hidden>
Date: 2019-08-17 21:13:34
Also in: linux-alpha, linux-arch, linux-mips, linux-riscv, linux-s390, linux-sh, lkml, sparclinux

On Sat, 17 Aug 2019, Christoph Hellwig wrote:
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: Paul Walmsley <redacted>
Tested-by: Paul Walmsley <redacted> # rv32, rv64 boot
Acked-by: Paul Walmsley <redacted> # arch/riscv


- Paul

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help