Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753497Ab1CUPss (ORCPT ); Mon, 21 Mar 2011 11:48:48 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:36633 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259Ab1CUPso (ORCPT ); Mon, 21 Mar 2011 11:48:44 -0400 Date: Mon, 21 Mar 2011 15:48:33 +0000 From: Russell King - ARM Linux To: Nguyen Dinh-R00091 Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "s.hauer@pengutronix.de" , "u.kleine-koenig@pengutronix.de" , "arnaud.patard@rtp-net.org" , Vaidyanathan Ranjani-RA5478 , Zhang Lily-R58066 , "festevam@gmail.com" Subject: Re: [PATCHv4 3/3] ARM: mx51: Add support for low power suspend on MX51 Message-ID: <20110321154833.GD4340@n2100.arm.linux.org.uk> References: <1300461684-21775-1-git-send-email-Dinh.Nguyen@freescale.com> <1300461684-21775-2-git-send-email-Dinh.Nguyen@freescale.com> <1300461684-21775-3-git-send-email-Dinh.Nguyen@freescale.com> <20110318152502.GO29758@n2100.arm.linux.org.uk> <56132A77AB93C141BF06E6B96CA6CFEA1BC0AF@039-SN1MPN1-004.039d.mgd.msft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56132A77AB93C141BF06E6B96CA6CFEA1BC0AF@039-SN1MPN1-004.039d.mgd.msft.net> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 900 Lines: 26 On Mon, Mar 21, 2011 at 02:53:21PM +0000, Nguyen Dinh-R00091 wrote: > >On Fri, Mar 18, 2011 at 10:21:24AM -0500, Dinh.Nguyen@freescale.com wrote: > >> +#include > >> +#include > >> +#include > >> +#include > >> +#include > >> +#include > >> +#include "crm_regs.h" > > > >Why does the code below require asm/mach/map.h ? > > map.h can be replaced by linux/io.h for the __raw_writel(). > > >Why does it require asm/tlb.h ? > > asm/tlb is for the local_flush_tlb_all() call. I think you want asm/tlbflush.h rather than the tlb shootdown stuff in asm/tlb.h. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/