]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/acpi: Create arch specific cpu to acpi id helper
authorJeremy Linton <jeremy.linton@arm.com>
Fri, 11 May 2018 23:57:59 +0000 (18:57 -0500)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 17 May 2018 16:28:09 +0000 (17:28 +0100)
commitdb32fdc762a51bb458c3f5d869994a9a611c12c7
tree09b8addfb8595973963c98a723e932712c740e26
parentbb34a3b79df60999af03b8c959b6bb7d53775536
arm64/acpi: Create arch specific cpu to acpi id helper

Its helpful to be able to lookup the acpi_processor_id associated
with a logical cpu. Provide an arm64 helper to do this.

Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Vijaya Kumar K <vkilari@codeaurora.org>
Tested-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Tested-by: Tomasz Nowicki <Tomasz.Nowicki@cavium.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/acpi.h