[PATCHv4 3/3] ARM: mx51: Add support for low power suspend on MX51
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Mar 21 11:48:33 EDT 2011
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 at freescale.com wrote:
> >> +#include <linux/suspend.h>
> >> +#include <linux/clk.h>
> >> +#include <asm/mach/map.h>
> >> +#include <asm/cacheflush.h>
> >> +#include <asm/tlb.h>
> >> +#include <mach/system.h>
> >> +#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.
More information about the linux-arm-kernel
mailing list