powerpc/mm: Fix the call trace when resumed from hibernation
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / kernel / swsusp.c
index aa17b76dd42799375ce954490526b00e5262de06..641f9adc620596e46d6b59b5f725643ce8124ad5 100644 (file)
@@ -33,6 +33,6 @@ void save_processor_state(void)
 void restore_processor_state(void)
 {
 #ifdef CONFIG_PPC32
-       switch_mmu_context(NULL, current->active_mm);
+       switch_mmu_context(current->active_mm, current->active_mm);
 #endif
 }