aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/snapshot.c')
-rw-r--r--kernel/power/snapshot.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index 72787f925630..42a628704398 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -378,7 +378,7 @@ static struct pbe *swsusp_alloc(unsigned nr_pages)
378 return pblist; 378 return pblist;
379} 379}
380 380
381static int suspend_prepare_image(void) 381asmlinkage int swsusp_save(void)
382{ 382{
383 unsigned nr_pages; 383 unsigned nr_pages;
384 384
@@ -433,9 +433,3 @@ static int suspend_prepare_image(void)
433 printk("swsusp: critical section/: done (%d pages copied)\n", nr_pages); 433 printk("swsusp: critical section/: done (%d pages copied)\n", nr_pages);
434 return 0; 434 return 0;
435} 435}
436
437
438asmlinkage int swsusp_save(void)
439{
440 return suspend_prepare_image();
441}