aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r--kernel/power/power.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index c5321eb1f7c8..9f9e16e33962 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -188,3 +188,21 @@ int restore_highmem(void);
188static inline unsigned int count_highmem_pages(void) { return 0; } 188static inline unsigned int count_highmem_pages(void) { return 0; }
189static inline int restore_highmem(void) { return 0; } 189static inline int restore_highmem(void) { return 0; }
190#endif 190#endif
191
192/*
193 * Suspend test levels
194 */
195enum {
196 /* keep first */
197 TEST_NONE,
198 TEST_CORE,
199 TEST_CPUS,
200 TEST_PLATFORM,
201 TEST_DEVICES,
202 TEST_FREEZER,
203 /* keep last */
204 __TEST_AFTER_LAST
205};
206
207#define TEST_FIRST TEST_NONE
208#define TEST_MAX (__TEST_AFTER_LAST - 1)