numa: make "nr_node_ids" unsigned int
[sfrench/cifs-2.6.git] / mm / memcontrol.c
index 30bda8d7fb5c3593827007323c9ecc8df639f6e3..45cd1f84268a43021b23a99a84eb1fe18e9f53d7 100644 (file)
@@ -4429,7 +4429,7 @@ static void mem_cgroup_free(struct mem_cgroup *memcg)
 static struct mem_cgroup *mem_cgroup_alloc(void)
 {
        struct mem_cgroup *memcg;
-       size_t size;
+       unsigned int size;
        int node;
 
        size = sizeof(struct mem_cgroup);