aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index b0fee0c61445..4d67a39c58a8 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -141,7 +141,7 @@ enum {
141 ROOT_NOPREFIX, /* mounted subsystems have no named prefix */ 141 ROOT_NOPREFIX, /* mounted subsystems have no named prefix */
142}; 142};
143 143
144inline int cgroup_is_releasable(const struct cgroup *cgrp) 144static int cgroup_is_releasable(const struct cgroup *cgrp)
145{ 145{
146 const int bits = 146 const int bits =
147 (1 << CGRP_RELEASABLE) | 147 (1 << CGRP_RELEASABLE) |
@@ -149,7 +149,7 @@ inline int cgroup_is_releasable(const struct cgroup *cgrp)
149 return (cgrp->flags & bits) == bits; 149 return (cgrp->flags & bits) == bits;
150} 150}
151 151
152inline int notify_on_release(const struct cgroup *cgrp) 152static int notify_on_release(const struct cgroup *cgrp)
153{ 153{
154 return test_bit(CGRP_NOTIFY_ON_RELEASE, &cgrp->flags); 154 return test_bit(CGRP_NOTIFY_ON_RELEASE, &cgrp->flags);
155} 155}