Commit e5f57621 authored by Li Haifeng's avatar Li Haifeng Committed by Rafael J. Wysocki

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
Signed-off-by: default avatarHaifeng Li <>
Signed-off-by: default avatarRafael J. Wysocki <>
parent 4b6d1f12
......@@ -177,6 +177,7 @@ static inline int freeze_kernel_threads(void) { return -ENOSYS; }
static inline void thaw_processes(void) {}
static inline void thaw_kernel_threads(void) {}
static inline bool try_to_freeze_nowarn(void) { return false; }
static inline bool try_to_freeze(void) { return false; }
static inline void freezer_do_not_count(void) {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment