diff options
Diffstat (limited to 'include/linux/freezer.h')
-rw-r--r-- | include/linux/freezer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h index d02b78448b0f..ba4f512d2938 100644 --- a/include/linux/freezer.h +++ b/include/linux/freezer.h | |||
@@ -45,7 +45,7 @@ static inline bool should_send_signal(struct task_struct *p) | |||
45 | } | 45 | } |
46 | 46 | ||
47 | /* Takes and releases task alloc lock using task_lock() */ | 47 | /* Takes and releases task alloc lock using task_lock() */ |
48 | extern int thaw_process(struct task_struct *p); | 48 | extern void __thaw_task(struct task_struct *t); |
49 | 49 | ||
50 | extern bool __refrigerator(bool check_kthr_stop); | 50 | extern bool __refrigerator(bool check_kthr_stop); |
51 | extern int freeze_processes(void); | 51 | extern int freeze_processes(void); |
@@ -178,7 +178,6 @@ static inline int frozen(struct task_struct *p) { return 0; } | |||
178 | static inline int freezing(struct task_struct *p) { return 0; } | 178 | static inline int freezing(struct task_struct *p) { return 0; } |
179 | static inline void set_freeze_flag(struct task_struct *p) {} | 179 | static inline void set_freeze_flag(struct task_struct *p) {} |
180 | static inline void clear_freeze_flag(struct task_struct *p) {} | 180 | static inline void clear_freeze_flag(struct task_struct *p) {} |
181 | static inline int thaw_process(struct task_struct *p) { return 1; } | ||
182 | 181 | ||
183 | static inline bool __refrigerator(bool check_kthr_stop) { return false; } | 182 | static inline bool __refrigerator(bool check_kthr_stop) { return false; } |
184 | static inline int freeze_processes(void) { return -ENOSYS; } | 183 | static inline int freeze_processes(void) { return -ENOSYS; } |