From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Mon, 11 Nov 2019 11:10:07 +0100 Subject: [OpenRISC] [PATCH 12/21] arch: rely on asm-generic/io.h for default ioremap_* definitions In-Reply-To: <20191029064834.23438-13-hch@lst.de> References: <20191029064834.23438-1-hch@lst.de> <20191029064834.23438-13-hch@lst.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.org On Tue, Oct 29, 2019 at 7:49 AM 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: Arnd Bergmann