aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorScott Cheloha <[email protected]>2020-11-05 16:30:40 -0600
committerMichael Ellerman <[email protected]>2020-11-06 14:16:19 +1100
commit3fb4a8fa28b740709bdd3229b80279957f4d37ed (patch)
treea4b8a151e19c7cea133f9fbc6dc2eba3acb2505b /tools/perf/util/trace-event-scripting.c
parent33fe43cfd9b1c20f6f9899b44bf04e91823ff1c9 (diff)
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 <[email protected]> Signed-off-by: Scott Cheloha <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions