diff options
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1042,7 +1042,7 @@ static void *alternate_node_alloc(struct kmem_cache *, gfp_t); | |||
1042 | static struct array_cache **alloc_alien_cache(int node, int limit) | 1042 | static 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) |