aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-07-28 16:59:49 -0400
committerPekka Enberg <penberg@kernel.org>2011-07-31 11:14:21 -0400
commiteacbbae385bf492229e84024863960d3160547c7 (patch)
tree894a5d7dc97722e84f2b3a712962cbd8e44e1a64 /mm
parentacfe7d74484d6ccb25a80b8ff259fceceac0473e (diff)
slab: use NUMA_NO_NODE
Use the nice enumerated constant. Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index b80282aef73b..95947400702b 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3403,7 +3403,7 @@ __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid,
3403 cache_alloc_debugcheck_before(cachep, flags); 3403 cache_alloc_debugcheck_before(cachep, flags);
3404 local_irq_save(save_flags); 3404 local_irq_save(save_flags);
3405 3405
3406 if (nodeid == -1) 3406 if (nodeid == NUMA_NO_NODE)
3407 nodeid = slab_node; 3407 nodeid = slab_node;
3408 3408
3409 if (unlikely(!cachep->nodelists[nodeid])) { 3409 if (unlikely(!cachep->nodelists[nodeid])) {