diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/snapshot.c | 8 |
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 | ||
381 | static int suspend_prepare_image(void) | 381 | asmlinkage 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 | |||
438 | asmlinkage int swsusp_save(void) | ||
439 | { | ||
440 | return suspend_prepare_image(); | ||
441 | } | ||