mm, memcg: make mem_cgroup_out_of_memory() static
[~shefty/rdma-dev.git] / mm / memcontrol.c
index dd39ba000b31f98730c6fd6d22bdf695ced3bedf..cf6d0df4849cc86ac15245f57ac1828c3ad1224c 100644 (file)
@@ -1498,8 +1498,8 @@ static u64 mem_cgroup_get_limit(struct mem_cgroup *memcg)
        return limit;
 }
 
-void mem_cgroup_out_of_memory(struct mem_cgroup *memcg, gfp_t gfp_mask,
-                             int order)
+static void mem_cgroup_out_of_memory(struct mem_cgroup *memcg, gfp_t gfp_mask,
+                                    int order)
 {
        struct mem_cgroup *iter;
        unsigned long chosen_points = 0;