Scott Cheloha 3fb4a8fa28 powerpc/numa: Fix build when CONFIG_NUMA=n
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.

Fixes: 72cdd117c449 ("pseries/hotplug-memory: hot-add: skip redundant LMB lookup")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Scott Cheloha <cheloha@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201105223040.3612663-1-cheloha@linux.ibm.com
2020-11-06 14:16:19 +11:00
..
2020-10-16 12:21:15 -07:00
2020-08-07 10:33:50 -07:00
2020-05-28 23:24:36 +10:00
2019-11-18 22:27:51 +11:00
2020-05-28 23:24:36 +10:00
2020-08-11 14:13:24 -07:00
2020-10-08 12:50:52 +11:00
2020-10-07 22:34:47 +11:00
2020-07-27 14:29:23 -04:00
2020-05-28 23:24:36 +10:00
2020-10-16 12:21:15 -07:00
2020-07-23 17:41:36 +10:00
2020-08-07 10:33:50 -07:00
2020-06-09 09:39:13 -07:00
2020-06-12 11:05:52 -07:00
2020-07-20 22:57:58 +10:00
2020-06-05 12:39:30 -07:00
2020-08-07 10:33:50 -07:00
2020-10-06 07:07:03 +02:00
2019-07-13 16:08:36 -07:00
2020-06-02 20:59:20 +10:00
2019-07-13 16:08:36 -07:00
2018-05-25 12:04:43 +10:00
2020-10-06 23:22:26 +11:00
2020-07-27 00:01:32 +10:00
2020-07-23 17:43:44 +10:00
2018-07-30 22:48:21 +10:00
2019-05-01 16:45:05 +10:00