Re: [PATCH] powerpc: topology.h: fix build when CONFIG_NUMA=n

2020-11-05 Thread Christophe Leroy
Le 05/11/2020 à 17:20, Scott Cheloha a écrit : Add a non-NUMA definition for of_drconf_to_nid_single() to topology.h so we have one even if powerpc/mm/numa.c is not compiled. On a non-NUMA kernel the appropriate node id is always first_online_node. Signed-off-by: Scott Cheloha Reported-by:

[PATCH] powerpc: topology.h: fix build when CONFIG_NUMA=n

2020-11-05 Thread Scott Cheloha
Add a non-NUMA definition for of_drconf_to_nid_single() to topology.h so we have one even if powerpc/mm/numa.c is not compiled. On a non-NUMA kernel the appropriate node id is always first_online_node. Signed-off-by: Scott Cheloha Reported-by: kernel test robot Fixes: 72cdd117c449 ("pseries/hot