Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eacbbae3 authored by Andrew Morton's avatar Andrew Morton Committed by Pekka Enberg
Browse files

slab: use NUMA_NO_NODE



Use the nice enumerated constant.

Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarPekka Enberg <penberg@kernel.org>
parent acfe7d74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3403,7 +3403,7 @@ __cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid,
	cache_alloc_debugcheck_before(cachep, flags);
	local_irq_save(save_flags);

	if (nodeid == -1)
	if (nodeid == NUMA_NO_NODE)
		nodeid = slab_node;

	if (unlikely(!cachep->nodelists[nodeid])) {