Re: [PATCH v2] powerpc: topology.h: fix build when CONFIG_NUMA=n
From: Michael Ellerman <hidden> Date: 2020-11-08 10:32:42
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.