diff options
author | James Morse <james.morse@arm.com> | 2021-07-05 11:14:11 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-12-11 09:43:18 +0000 |
commit | 493d31e1d2640594e85844541c6374a35fe4a5eb (patch) | |
tree | 5aae8ee7b6fb5fa2d9331563ee469bb6f375ea50 /include/acpi/actbl2.h | |
parent | 0a3c37478521adb0bad587e084f36e015b677082 (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 <james.morse@arm.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Tested-by: Miguel Luis <miguel.luis@oracle.com>
Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com>
Tested-by: Jianyong Wu <jianyong.wu@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/acpi/actbl2.h')
0 files changed, 0 insertions, 0 deletions