OSDN Git Service

arm64: Remove exporting cpu_logical_map symbol
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 1 Sep 2020 09:52:29 +0000 (10:52 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 2 Sep 2020 07:35:28 +0000 (08:35 +0100)
commit60295d50958e21da1df7311fd3c6aced1b3f1f04
tree3d4f16552a3dd0f077bdac744d1ef88fe2816090
parentf75aef392f869018f78cfedf3c320a6b3fcfda6b
arm64: Remove exporting cpu_logical_map symbol

Commit eaecca9e7710 ("arm64: Fix __cpu_logical_map undefined issue")
exported cpu_logical_map in order to fix tegra194-cpufreq module build
failure.

As this might potentially cause problem while supporting physical CPU
hotplug, tegra194-cpufreq module was reworded to avoid use of
cpu_logical_map() via the commit 93d0c1ab2328 ("cpufreq: replace
cpu_logical_map() with read_cpuid_mpir()")

Since cpu_logical_map was exported to fix the module build temporarily,
let us remove the same before it gains any user again.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20200901095229.56793-1-sudeep.holla@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/setup.c