diff options
| author | Scott Cheloha <[email protected]> | 2020-11-05 22:30:40 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-11-06 03:16:19 +0000 |
| commit | 3fb4a8fa28b740709bdd3229b80279957f4d37ed (patch) | |
| tree | a4b8a151e19c7cea133f9fbc6dc2eba3acb2505b /scripts/mod/file2alias.c | |
| parent | powerpc/8xx: Manage _PAGE_ACCESSED through APG bits in L1 entry (diff) | |
| download | kernel-3fb4a8fa28b740709bdd3229b80279957f4d37ed.tar.gz kernel-3fb4a8fa28b740709bdd3229b80279957f4d37ed.zip | |
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 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
