]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/slab.c
cxgb3 - Recovery from HW starvation of response queue entries.
[linux-2.6-omap-h63xx.git] / mm / slab.c
index 70784b848b69b475718f0090033770b7c17b511b..8fdaffa717eaa1ef21bd3b900a02c06ab7f05f66 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1042,7 +1042,7 @@ static void *alternate_node_alloc(struct kmem_cache *, gfp_t);
 static struct array_cache **alloc_alien_cache(int node, int limit)
 {
        struct array_cache **ac_ptr;
-       int memsize = sizeof(void *) * MAX_NUMNODES;
+       int memsize = sizeof(void *) * nr_node_ids;
        int i;
 
        if (limit > 1)