aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 70784b848b69..8fdaffa717ea 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1042,7 +1042,7 @@ static void *alternate_node_alloc(struct kmem_cache *, gfp_t);
1042static struct array_cache **alloc_alien_cache(int node, int limit) 1042static struct array_cache **alloc_alien_cache(int node, int limit)
1043{ 1043{
1044 struct array_cache **ac_ptr; 1044 struct array_cache **ac_ptr;
1045 int memsize = sizeof(void *) * MAX_NUMNODES; 1045 int memsize = sizeof(void *) * nr_node_ids;
1046 int i; 1046 int i;
1047 1047
1048 if (limit > 1) 1048 if (limit > 1)