From: Adrian Bunk cgroup_is_releasable() and notify_on_release() should be static, not global inline. Signed-off-by: Adrian Bunk Acked-by: Paul Menage Signed-off-by: Andrew Morton --- kernel/cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/cgroup.c~kernel-cgroupc-make-2-functions-static kernel/cgroup.c --- a/kernel/cgroup.c~kernel-cgroupc-make-2-functions-static +++ a/kernel/cgroup.c @@ -143,7 +143,7 @@ enum { ROOT_NOPREFIX, /* mounted subsystems have no named prefix */ }; -inline int cgroup_is_releasable(const struct cgroup *cgrp) +static int cgroup_is_releasable(const struct cgroup *cgrp) { const int bits = (1 << CGRP_RELEASABLE) | @@ -151,7 +151,7 @@ inline int cgroup_is_releasable(const st return (cgrp->flags & bits) == bits; } -inline int notify_on_release(const struct cgroup *cgrp) +static int notify_on_release(const struct cgroup *cgrp) { return test_bit(CGRP_NOTIFY_ON_RELEASE, &cgrp->flags); } _