diff options
Diffstat (limited to 'kernel/cgroup_freezer.c')
-rw-r--r-- | kernel/cgroup_freezer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup_freezer.c b/kernel/cgroup_freezer.c index 75dda1ea5026..9d3f61566fec 100644 --- a/kernel/cgroup_freezer.c +++ b/kernel/cgroup_freezer.c | |||
@@ -47,13 +47,13 @@ struct freezer { | |||
47 | 47 | ||
48 | static inline struct freezer *cgroup_freezer(struct cgroup *cgroup) | 48 | static inline struct freezer *cgroup_freezer(struct cgroup *cgroup) |
49 | { | 49 | { |
50 | return container_of(cgroup_subsys_state(cgroup, freezer_subsys_id), | 50 | return container_of(cgroup_css(cgroup, freezer_subsys_id), |
51 | struct freezer, css); | 51 | struct freezer, css); |
52 | } | 52 | } |
53 | 53 | ||
54 | static inline struct freezer *task_freezer(struct task_struct *task) | 54 | static inline struct freezer *task_freezer(struct task_struct *task) |
55 | { | 55 | { |
56 | return container_of(task_subsys_state(task, freezer_subsys_id), | 56 | return container_of(task_css(task, freezer_subsys_id), |
57 | struct freezer, css); | 57 | struct freezer, css); |
58 | } | 58 | } |
59 | 59 | ||