diff options
author | James Morse <[email protected]> | 2024-05-29 14:34:38 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2024-06-28 18:38:29 +0100 |
commit | 8d34b6f17b9ac93faa2791eb037dcb08bdf755de (patch) | |
tree | 470b794859b7d268049d90ffe239524a8477c8c8 /lib/memory-notifier-error-inject.c | |
parent | 3b9d0a78aeda194994892f7c42f6ca5feb45eadd (diff) |
arm64: acpi: Move get_cpu_for_acpi_id() to a header
ACPI identifies CPUs by UID. get_cpu_for_acpi_id() maps the ACPI UID
to the Linux CPU number.
The helper to retrieve this mapping is only available in arm64's NUMA
code.
Move it to live next to get_acpi_id_for_cpu().
Signed-off-by: James Morse <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Tested-by: Miguel Luis <[email protected]>
Tested-by: Vishnu Pajjuri <[email protected]>
Tested-by: Jianyong Wu <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Acked-by: Hanjun Guo <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Lorenzo Pieralisi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions