]> Pileus Git - ~andy/linux/blobdiff - arch/arm/mach-tegra/pm.c
Merge tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[~andy/linux] / arch / arm / mach-tegra / pm.c
index 04a8e06f59a91f65812beef6db23db80ebb38622..891fb70d0aa7f8a05bf65f3f3606790c70010ab6 100644 (file)
@@ -169,12 +169,7 @@ int tegra_cpu_do_idle(void)
 
 static int tegra_sleep_cpu(unsigned long v2p)
 {
-       /* Switch to the identity mapping. */
-       cpu_switch_mm(idmap_pgd, &init_mm);
-
-       /* Flush the TLB. */
-       local_flush_tlb_all();
-
+       setup_mm_for_reboot();
        tegra_sleep_cpu_finish(v2p);
 
        /* should never here */