Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42716
b: refs/heads/master
c: 8357376
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed Dec 7, 2006
1 parent e0bef32 commit 7e38167
Show file tree
Hide file tree
Showing 8 changed files with 681 additions and 243 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: bf73bae6ba0dc4bd4f1e570feb34a06b72725af6
refs/heads/master: 8357376d3df21b7d6f857931a57ac50da9c66e26
9 changes: 6 additions & 3 deletions trunk/include/linux/suspend.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
#include <linux/init.h>
#include <linux/pm.h>

/* page backup entry */
/* struct pbe is used for creating lists of pages that should be restored
* atomically during the resume from disk, because the page frames they have
* occupied before the suspend are in use.
*/
struct pbe {
unsigned long address; /* address of the copy */
unsigned long orig_address; /* original address of page */
void *address; /* address of the copy */
void *orig_address; /* original address of a page */
struct pbe *next;
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/power/power.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ struct snapshot_handle {
extern unsigned int snapshot_additional_pages(struct zone *zone);
extern int snapshot_read_next(struct snapshot_handle *handle, size_t count);
extern int snapshot_write_next(struct snapshot_handle *handle, size_t count);
extern void snapshot_write_finalize(struct snapshot_handle *handle);
extern int snapshot_image_loaded(struct snapshot_handle *handle);
extern void snapshot_free_unused_memory(struct snapshot_handle *handle);

/*
* This structure is used to pass the values needed for the identification
Expand Down
Loading

0 comments on commit 7e38167

Please sign in to comment.