From: Adrian Bunk Date: Thu, 7 Feb 2008 08:13:46 +0000 (-0800) Subject: kernel/cgroup.c: make 2 functions static X-Git-Tag: MMI-PSA29.97-13-9~36967 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9685a03c8c3162cfa9ff02d254ea5c848f9facb;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git kernel/cgroup.c: make 2 functions static 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 Signed-off-by: Linus Torvalds --- 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 { 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) | @@ -149,7 +149,7 @@ inline int cgroup_is_releasable(const struct cgroup *cgrp) 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); }