s390: crypto: Remove redundant license text
[linux-2.6-microblaze.git] / kernel / power / suspend.c
index ccd2d20..0685c44 100644 (file)
@@ -437,7 +437,6 @@ static int suspend_enter(suspend_state_t state, bool *wakeup)
                        error = suspend_ops->enter(state);
                        trace_suspend_resume(TPS("machine_suspend"),
                                state, false);
-                       events_check_enabled = false;
                } else if (*wakeup) {
                        error = -EBUSY;
                }
@@ -582,6 +581,7 @@ static int enter_state(suspend_state_t state)
        pm_restore_gfp_mask();
 
  Finish:
+       events_check_enabled = false;
        pm_pr_dbg("Finishing wakeup.\n");
        suspend_finish();
  Unlock: