aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2023-03-21 09:30:59 +0100
committerVlastimil Babka <[email protected]>2023-03-22 12:11:43 +0100
commit66a1c22b709178e7b823d44465d0c2e5ed7492fb (patch)
tree03f9b50a4a10ed7d2b60506f1156ce217d3ee996 /tools/testing/selftests/bpf/progs/test_autoload.c
parentb45bc2e09906a7c8370b7f2a6c204bcaa1b781fc (diff)
mm/slab: Fix undefined init_cache_node_node() for NUMA and !SMP
sh/migor_defconfig: mm/slab.c: In function ‘slab_memory_callback’: mm/slab.c:1127:23: error: implicit declaration of function ‘init_cache_node_node’; did you mean ‘drain_cache_node_node’? [-Werror=implicit-function-declaration] 1127 | ret = init_cache_node_node(nid); | ^~~~~~~~~~~~~~~~~~~~ | drain_cache_node_node The #ifdef condition protecting the definition of init_cache_node_node() no longer matches the conditions protecting the (multiple) users. Fix this by syncing the conditions. Fixes: 76af6a054da40553 ("mm/migrate: add CPU hotplug to demotion #ifdef") Reported-by: Randy Dunlap <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Acked-by: Randy Dunlap <[email protected]> Cc: <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions