diff options
Diffstat (limited to 'include/linux/suspend.h')
-rw-r--r-- | include/linux/suspend.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index b1237f16ecde..bf99bd49f8ef 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -9,10 +9,13 @@ | |||
9 | #include <linux/init.h> | 9 | #include <linux/init.h> |
10 | #include <linux/pm.h> | 10 | #include <linux/pm.h> |
11 | 11 | ||
12 | /* page backup entry */ | 12 | /* struct pbe is used for creating lists of pages that should be restored |
13 | * atomically during the resume from disk, because the page frames they have | ||
14 | * occupied before the suspend are in use. | ||
15 | */ | ||
13 | struct pbe { | 16 | struct pbe { |
14 | unsigned long address; /* address of the copy */ | 17 | void *address; /* address of the copy */ |
15 | unsigned long orig_address; /* original address of page */ | 18 | void *orig_address; /* original address of a page */ |
16 | struct pbe *next; | 19 | struct pbe *next; |
17 | }; | 20 | }; |
18 | 21 | ||