diff options
author | Nathan Chancellor <[email protected]> | 2020-09-28 12:45:55 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2020-09-30 17:48:06 +0200 |
commit | 4849bc777049b568a35d5d63ae326e93f0fff9de (patch) | |
tree | 5486bf80f2bdf4521248ba4b4d9ec6cc664cc6f5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 95ac5bf4e471ab1f37bca522e5ea4e474fbcec31 (diff) |
ACPI / NUMA: Add stub function for pxm_to_node()
After commit 01feba590cd6 ("ACPI: Do not create new NUMA domains from
ACPI static tables that are not SRAT"):
$ scripts/config --file arch/x86/configs/x86_64_defconfig -d NUMA -e ACPI_NFIT
$ make -skj"$(nproc)" distclean defconfig drivers/acpi/nfit/
drivers/acpi/nfit/core.c: In function ‘acpi_nfit_register_region’:
drivers/acpi/nfit/core.c:3010:27: error: implicit declaration of
function ‘pxm_to_node’; did you mean ‘xa_to_node’?
[-Werror=implicit-function-declaration]
3010 | ndr_desc->target_node = pxm_to_node(spa->proximity_domain);
| ^~~~~~~~~~~
| xa_to_node
cc1: some warnings being treated as errors
...
Add a stub function like acpi_map_pxm_to_node() had so that the build
continues to work.
Fixes: 01feba590cd6 ("ACPI: Do not create new NUMA domains from ACPI static tables that are not SRAT")
Signed-off-by: Nathan Chancellor <[email protected]>
Acked-by: Randy Dunlap <[email protected]> # build-tested
Acked-by: Jonathan Cameron <[email protected]>
Reviewed-by: Hanjun Guo <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions