diff options
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r-- | kernel/power/power.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h index ef9060576a40..c5321eb1f7c8 100644 --- a/kernel/power/power.h +++ b/kernel/power/power.h | |||
@@ -180,3 +180,11 @@ static inline int pm_notifier_call_chain(unsigned long val) | |||
180 | return (blocking_notifier_call_chain(&pm_chain_head, val, NULL) | 180 | return (blocking_notifier_call_chain(&pm_chain_head, val, NULL) |
181 | == NOTIFY_BAD) ? -EINVAL : 0; | 181 | == NOTIFY_BAD) ? -EINVAL : 0; |
182 | } | 182 | } |
183 | |||
184 | #ifdef CONFIG_HIGHMEM | ||
185 | unsigned int count_highmem_pages(void); | ||
186 | int restore_highmem(void); | ||
187 | #else | ||
188 | static inline unsigned int count_highmem_pages(void) { return 0; } | ||
189 | static inline int restore_highmem(void) { return 0; } | ||
190 | #endif | ||