On Fri, Dec 18, 2009 at 07:46:19PM -0800, Tony Lindgren wrote:
> diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
> index 8c7fbd1..a2802ea 100644
> --- a/arch/arm/mm/mmu.c
> +++ b/arch/arm/mm/mmu.c
> @@ -1068,4 +1068,7 @@ void setup_mm_for_reboot(char mode)
>               pmd[1] = __pmd(pmdval + (1 << (PGDIR_SHIFT - 1)));
>               flush_pmd_entry(pmd);
>       }
> +
> +     local_flush_tlb_all();
> +     flush_cache_all();

The cache flush is unnecessary.  The caches should be off at this point.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to