Messages in this thread | | | Date | Mon, 21 Mar 2011 15:48:33 +0000 | From | Russell King - ARM Linux <> | Subject | Re: [PATCHv4 3/3] ARM: mx51: Add support for low power suspend on MX51 |
| |
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 <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.
| |