diff options
author | Li Haifeng <omycle@gmail.com> | 2012-11-23 15:55:19 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-23 15:55:19 -0500 |
commit | e5f5762177be52fde50ccba88938d66b5103c8e0 (patch) | |
tree | 2f301cddd151328a7349864e2d99251add04f886 /include/linux/freezer.h | |
parent | 4b6d1f12f9c4e0e420d5747d3ae285d8f66d627f (diff) |
PM / Freezer: Fixup compile error of try_to_freeze_nowarn()
If FREEZER is not defined, the error as following will be throw
when compiled.
arch/arm/kernel/signal.c:645: error: implicit declaration of function
'try_to_freeze_nowarn'
Signed-off-by: Haifeng Li <omycle@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/freezer.h')
-rw-r--r-- | include/linux/freezer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h index d09af4b67cf1..b90091af5798 100644 --- a/include/linux/freezer.h +++ b/include/linux/freezer.h | |||
@@ -177,6 +177,7 @@ static inline int freeze_kernel_threads(void) { return -ENOSYS; } | |||
177 | static inline void thaw_processes(void) {} | 177 | static inline void thaw_processes(void) {} |
178 | static inline void thaw_kernel_threads(void) {} | 178 | static inline void thaw_kernel_threads(void) {} |
179 | 179 | ||
180 | static inline bool try_to_freeze_nowarn(void) { return false; } | ||
180 | static inline bool try_to_freeze(void) { return false; } | 181 | static inline bool try_to_freeze(void) { return false; } |
181 | 182 | ||
182 | static inline void freezer_do_not_count(void) {} | 183 | static inline void freezer_do_not_count(void) {} |