powerpc/mm: Split mmu_context handling
[pandora-kernel.git] / arch / powerpc / kernel / swsusp.c
index 77b7b34..560c961 100644 (file)
@@ -34,6 +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);
+       switch_mmu_context(NULL, current->active_mm);
 #endif
 }