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

2020-11-08 Thread Michael Ellerman
On Thu, 5 Nov 2020 16:30:40 -0600, Scott Cheloha wrote: > 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. Applied to powerpc/fixes. [1/1]

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

2020-11-05 Thread Christophe Leroy
Le 05/11/2020 à 23:30, 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: