From mboxrd@z Thu Jan 1 00:00:00 1970 From: paul.walmsley@sifive.com (Paul Walmsley) Date: Sat, 17 Aug 2019 14:13:30 -0700 (PDT) Subject: [PATCH 17/26] arch: rely on asm-generic/io.h for default ioremap_* definitions In-Reply-To: <20190817073253.27819-18-hch@lst.de> References: <20190817073253.27819-1-hch@lst.de> <20190817073253.27819-18-hch@lst.de> List-ID: Message-ID: To: linux-snps-arc@lists.infradead.org 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 . > > Signed-off-by: Christoph Hellwig Reviewed-by: Paul Walmsley Tested-by: Paul Walmsley # rv32, rv64 boot Acked-by: Paul Walmsley # arch/riscv - Paul