aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/freezer.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/freezer.h b/include/linux/freezer.h
index 1045ee9c0bb4..4631086f5060 100644
--- a/include/linux/freezer.h
+++ b/include/linux/freezer.h
@@ -58,18 +58,6 @@ static inline int thaw_process(struct task_struct *p)
58 return 0; 58 return 0;
59} 59}
60 60
61/*
62 * freezing is complete, mark process as frozen
63 */
64static inline void frozen_process(struct task_struct *p)
65{
66 if (!unlikely(p->flags & PF_NOFREEZE)) {
67 p->flags |= PF_FROZEN;
68 wmb();
69 }
70 clear_tsk_thread_flag(p, TIF_FREEZE);
71}
72
73extern void refrigerator(void); 61extern void refrigerator(void);
74extern int freeze_processes(void); 62extern int freeze_processes(void);
75extern void thaw_processes(void); 63extern void thaw_processes(void);
@@ -132,7 +120,6 @@ static inline int frozen(struct task_struct *p) { return 0; }
132static inline int freezing(struct task_struct *p) { return 0; } 120static inline int freezing(struct task_struct *p) { return 0; }
133static inline void freeze(struct task_struct *p) { BUG(); } 121static inline void freeze(struct task_struct *p) { BUG(); }
134static inline int thaw_process(struct task_struct *p) { return 1; } 122static inline int thaw_process(struct task_struct *p) { return 1; }
135static inline void frozen_process(struct task_struct *p) { BUG(); }
136 123
137static inline void refrigerator(void) {} 124static inline void refrigerator(void) {}
138static inline int freeze_processes(void) { BUG(); return 0; } 125static inline int freeze_processes(void) { BUG(); return 0; }