Skip to content

Commit cb7f5b4

Browse files
committed
Merge tag 'slab-fix-for-6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull slab fix from Vlastimil Babka: "A single build fix for a corner case configuration that is apparently possible to achieve on some arches, from Geert" * tag 'slab-fix-for-6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab: mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
2 parents 877c20b + 66a1c22 commit cb7f5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/slab.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ static int init_cache_node(struct kmem_cache *cachep, int node, gfp_t gfp)
839839
return 0;
840840
}
841841

842-
#if (defined(CONFIG_NUMA) && defined(CONFIG_MEMORY_HOTPLUG)) || defined(CONFIG_SMP)
842+
#if defined(CONFIG_NUMA) || defined(CONFIG_SMP)
843843
/*
844844
* Allocates and initializes node for a node on each slab cache, used for
845845
* either memory or cpu hotplug. If memory is being hot-added, the kmem_cache_node

0 commit comments

Comments
 (0)