Thread (48 messages) 48 messages, 8 authors, 2019-11-12

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

From: Arnd Bergmann <arnd@arndb.de>
Date: 2019-11-11 10:10:30
Also in: linux-arch, linux-arm-kernel, linux-m68k, linux-mips, linux-riscv, linux-s390, linux-sh, lkml, sparclinux

On Tue, Oct 29, 2019 at 7:49 AM Christoph Hellwig [off-list ref] 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: Arnd Bergmann <arnd@arndb.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help