aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/power/hibernate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index ebf62c3bc9f7..1fcf9de4506d 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -807,8 +807,10 @@ static int software_resume(void)
807 goto close_finish; 807 goto close_finish;
808 808
809 error = create_basic_memory_bitmaps(); 809 error = create_basic_memory_bitmaps();
810 if (error) 810 if (error) {
811 usermodehelper_enable();
811 goto close_finish; 812 goto close_finish;
813 }
812 814
813 pr_debug("PM: Preparing processes for restore.\n"); 815 pr_debug("PM: Preparing processes for restore.\n");
814 error = prepare_processes(); 816 error = prepare_processes();