diff --git a/mm/memcontrol.c b/mm/memcontrol.c index b85814a..fb7f1ca 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -582,7 +582,7 @@ static struct kmem_cache *kmem_cache_dup(struct mem_cgroup *memcg, return new; } -struct ida cache_types; +static struct ida cache_types; void memcg_register_cache(struct mem_cgroup *memcg, struct kmem_cache *cachep) { @@ -752,7 +752,7 @@ static LIST_HEAD(create_queue); * they will just get queued again next time someone tries to make a slab * allocation for them. */ -void memcg_flush_cache_create_queue(void) +static void memcg_flush_cache_create_queue(void) { struct create_work *cw, *tmp; unsigned long flags;