Skip to content

Commit 60295d5

Browse files
sudeep-hollactmarinas
authored andcommitted
arm64: Remove exporting cpu_logical_map symbol
Commit eaecca9 ("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 93d0c1a ("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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent f75aef3 commit 60295d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/kernel/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ u64 cpu_logical_map(int cpu)
280280
{
281281
return __cpu_logical_map[cpu];
282282
}
283-
EXPORT_SYMBOL_GPL(cpu_logical_map);
284283

285284
void __init __no_sanitize_address setup_arch(char **cmdline_p)
286285
{

0 commit comments

Comments
 (0)