]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/swsusp.c
powerpc/32: Add the ability for a classic ppc kernel to be loaded at 32M
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / swsusp.c
index 064a7ba4f02c0a43e87e6ee68f96ab2ebf63f426..560c961195015d39b0f62296f48413f27f394f0f 100644 (file)
@@ -34,10 +34,6 @@ void save_processor_state(void)
 void restore_processor_state(void)
 {
 #ifdef CONFIG_PPC32
-       set_context(current->active_mm->context.id, current->active_mm->pgd);
-#endif
-
-#ifdef CONFIG_PPC64
-       hard_irq_enable();
+       switch_mmu_context(NULL, current->active_mm);
 #endif
 }