Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148680
b: refs/heads/master
c: 8b759b8
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Jun 12, 2009
1 parent 189f000 commit c260a7a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9d7052363a6e06bb623ed1876c56c7ca5b2c6d8
refs/heads/master: 8b759b84c8b3c27ccc8dd787294636297b3ebb40
2 changes: 1 addition & 1 deletion trunk/kernel/power/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ obj-$(CONFIG_PM_SLEEP) += console.o
obj-$(CONFIG_FREEZER) += process.o
obj-$(CONFIG_SUSPEND) += suspend.o
obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
obj-$(CONFIG_HIBERNATION) += swsusp.o disk.o snapshot.o swap.o user.o
obj-$(CONFIG_HIBERNATION) += swsusp.o hibernate.o snapshot.o swap.o user.o

obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
4 changes: 2 additions & 2 deletions trunk/kernel/power/disk.c → trunk/kernel/power/hibernate.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* kernel/power/disk.c - Suspend-to-disk support.
* kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support.
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
* Copyright (c) 2004 Pavel Machek <pavel@suse.cz>
* Copyright (c) 2009 Rafael J. Wysocki, Novell Inc.
*
* This file is released under the GPLv2.
*
*/

#include <linux/suspend.h>
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/power/power.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static inline char *check_image_kernel(struct swsusp_info *info)
*/
#define SPARE_PAGES ((1024 * 1024) >> PAGE_SHIFT)

/* kernel/power/disk.c */
/* kernel/power/hibernate.c */
extern int hibernation_snapshot(int platform_mode);
extern int hibernation_restore(int platform_mode);
extern int hibernation_platform_enter(void);
Expand Down Expand Up @@ -147,7 +147,7 @@ extern int swsusp_swap_in_use(void);
*/
#define SF_PLATFORM_MODE 1

/* kernel/power/disk.c */
/* kernel/power/hibernate.c */
extern int swsusp_check(void);
extern void swsusp_free(void);
extern int swsusp_read(unsigned int *flags_p);
Expand Down

0 comments on commit c260a7a

Please sign in to comment.