From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754345Ab2J2J2Q (ORCPT ); Mon, 29 Oct 2012 05:28:16 -0400 Received: from multi.imgtec.com ([194.200.65.239]:55735 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753287Ab2J2J2O (ORCPT ); Mon, 29 Oct 2012 05:28:14 -0400 Message-ID: <508E4C29.4030308@imgtec.com> Date: Mon, 29 Oct 2012 09:28:09 +0000 From: James Hogan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: CC: Arnd Bergmann , Jonas Bonn , , , , , , Chris Zankel , "Max Filippov" , Mike Frysinger , "Chen Liqin" , Lennox Wu , "Guan Xuetao" Subject: Re: [PATCH] asm-generic/io.h: remove asm/cacheflush.h include References: <1350984117-17369-1-git-send-email-james.hogan@imgtec.com> <57835.162.105.203.8.1351474122.squirrel@mprc.pku.edu.cn> In-Reply-To: <57835.162.105.203.8.1351474122.squirrel@mprc.pku.edu.cn> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.154.65] X-SEF-Processed: 7_3_0_01181__2012_10_29_09_28_10 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/10/12 01:28, guanxuetao@mprc.pku.edu.cn wrote: >> Including from prevents >> cacheflush.h being able to use I/O functions like readl and writel due >> to circular include dependencies. It doesn't appear as if anything from >> cacheflush.h is actually used by the generic io.h, so remove the >> include. >> >> I've compile tested a defconfig compilation of blackfin, openrisc (which >> needed including from it's to get the PAGE_* >> definitions), and xtensa. >> >> Other architectures which use asm-generic/io.h are score and unicore32, >> and looking at their io.h I don't see any obvious problems. >> >> Signed-off-by: James Hogan >> Cc: Arnd Bergmann >> Cc: Jonas Bonn >> Cc: Chris Zankel >> Cc: Max Filippov >> Cc: Mike Frysinger >> Cc: Chen Liqin >> Cc: Lennox Wu >> Cc: Guan Xuetao > > Acked-by: Guan Xuetao Thanks Guan Cheers James