diff options
Diffstat (limited to 'kernel/power/hibernate.c')
-rw-r--r-- | kernel/power/hibernate.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index cfc7a57049e4..c8c272df7154 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c | |||
@@ -14,7 +14,6 @@ | |||
14 | 14 | ||
15 | #include <linux/export.h> | 15 | #include <linux/export.h> |
16 | #include <linux/suspend.h> | 16 | #include <linux/suspend.h> |
17 | #include <linux/syscalls.h> | ||
18 | #include <linux/reboot.h> | 17 | #include <linux/reboot.h> |
19 | #include <linux/string.h> | 18 | #include <linux/string.h> |
20 | #include <linux/device.h> | 19 | #include <linux/device.h> |
@@ -709,9 +708,7 @@ int hibernate(void) | |||
709 | goto Exit; | 708 | goto Exit; |
710 | } | 709 | } |
711 | 710 | ||
712 | pr_info("Syncing filesystems ... \n"); | 711 | ksys_sync_helper(); |
713 | ksys_sync(); | ||
714 | pr_info("done.\n"); | ||
715 | 712 | ||
716 | error = freeze_processes(); | 713 | error = freeze_processes(); |
717 | if (error) | 714 | if (error) |