* [2.6 patch] mm/memcontrol.c: make 2 functions static
@ 2008-02-25 0:07 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2008-02-25 0:07 UTC (permalink / raw)
To: linux-kernel
This patch makes thefollowing needlessly global functions static:
- mem_cgroup_force_empty()
- mem_cgroup_write_strategy()
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
mm/memcontrol.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
0d8013bdcc403636cc326410af419e2e94d2450d diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 6bded84..f13c577 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -878,7 +878,7 @@ retry:
* This enables deleting this mem_cgroup.
*/
-int mem_cgroup_force_empty(struct mem_cgroup *mem)
+static int mem_cgroup_force_empty(struct mem_cgroup *mem)
{
int ret = -EBUSY;
int node, zid;
@@ -909,7 +909,7 @@ out:
-int mem_cgroup_write_strategy(char *buf, unsigned long long *tmp)
+static int mem_cgroup_write_strategy(char *buf, unsigned long long *tmp)
{
*tmp = memparse(buf, &buf);
if (*buf != '\0')
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-25 0:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-25 0:07 [2.6 patch] mm/memcontrol.c: make 2 functions static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®