linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: Remove exporting cpu_logical_map symbol
@ 2020-09-01  9:52 Sudeep Holla
       [not found] ` <159903220030.29783.7186911071188549924.b4-ty@arm.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Sudeep Holla @ 2020-09-01  9:52 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: Sudeep Holla

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>
---
 arch/arm64/kernel/setup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 77c4c9bad1b8..53acbeca4f57 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -280,7 +280,6 @@ u64 cpu_logical_map(int cpu)
 {
 	return __cpu_logical_map[cpu];
 }
-EXPORT_SYMBOL_GPL(cpu_logical_map);
 
 void __init __no_sanitize_address setup_arch(char **cmdline_p)
 {
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: Remove exporting cpu_logical_map symbol
       [not found] ` <159903220030.29783.7186911071188549924.b4-ty@arm.com>
@ 2020-09-02  7:41   ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2020-09-02  7:41 UTC (permalink / raw)
  To: Jessica Yu, linux-kernel, Sudeep Holla, linux-arm-kernel
  Cc: Mauro Carvalho Chehab, Masahiro Yamada, Szabolcs Nagy,
	Peter Zijlstra, Will Deacon, Ard Biesheuvel

On Wed, Sep 02, 2020 at 08:37:03AM +0100, Catalin Marinas wrote:
> On Tue, 1 Sep 2020 10:52:29 +0100, Sudeep Holla wrote:
> > 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()")
> > 
> > [...]
> 
> Applied to arm64 (for-next/fixes), thanks!
> 
> [1/1] arm64: Remove exporting cpu_logical_map symbol
>       https://git.kernel.org/arm64/c/60295d50958e

Either my script on top of b4 is broken or b4 0.5.2 has a bug. It was
supposed to only reply to Sudeep here but somehow combined it with the
recipient list from Jessica's patch (arm64/module: set trampoline
section flags regardless of CONFIG_DYNAMIC_FTRACE).

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-02  7:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-01  9:52 [PATCH] arm64: Remove exporting cpu_logical_map symbol Sudeep Holla
     [not found] ` <159903220030.29783.7186911071188549924.b4-ty@arm.com>
2020-09-02  7:41   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).