From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1164925AbeCBIuz (ORCPT ); Fri, 2 Mar 2018 03:50:55 -0500 Received: from sym2.noone.org ([178.63.92.236]:47412 "EHLO sym2.noone.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164698AbeCBIux (ORCPT ); Fri, 2 Mar 2018 03:50:53 -0500 Date: Fri, 2 Mar 2018 09:50:50 +0100 From: Tobias Klauser To: Greentime Hu Cc: lftan@altera.com, linux-kernel@vger.kernel.org, arnd@arndb.de, linux-arch@vger.kernel.org, greentime@andestech.com Subject: Re: [PATCH] nios2: add ioremap_nocache declaration before include asm-generic/io.h. Message-ID: <20180302085050.GI19044@distanz.ch> References: <20180301163943.10887-1-greentime@andestech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180301163943.10887-1-greentime@andestech.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-03-01 at 17:39:43 +0100, Greentime Hu wrote: > A commit for the nds32 architecture bootstrap("asm-generic/io.h: > move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef > CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. > This means that in order to suppress re-definition errors we need to > setup #define's before importing asm-generic/io.h. > > Signed-off-by: Greentime Hu Reviewed-by: Tobias Klauser Thanks