[PATCH] powerpc/rtas: unexport rtas_online_cpus_mask, rtas_offline_cpus_mask

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2618d LANDED

Landed in mainline as ae2e953fdca7 on 2019-08-05.

2 messages, 2 authors, 2019-08-10 · open the first message on its own page

[PATCH] powerpc/rtas: unexport rtas_online_cpus_mask, rtas_offline_cpus_mask

From: Nathan Lynch <hidden>
Date: 2019-07-18 16:24:15

These aren't used by modular code, nor should they be.

Fixes: 120496ac2d2d ("powerpc: Bring all threads online prior to migration/hibernation")
Signed-off-by: Nathan Lynch <redacted>
---
 arch/powerpc/kernel/rtas.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index 9b4d2a2ffb4f..2d4c9a0c4f08 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -926,13 +926,11 @@ int rtas_online_cpus_mask(cpumask_var_t cpus)
 
 	return ret;
 }
-EXPORT_SYMBOL(rtas_online_cpus_mask);
 
 int rtas_offline_cpus_mask(cpumask_var_t cpus)
 {
 	return rtas_cpu_state_change_mask(DOWN, cpus);
 }
-EXPORT_SYMBOL(rtas_offline_cpus_mask);
 
 int rtas_ibm_suspend_me(u64 handle)
 {
-- 
2.20.1

Re: [PATCH] powerpc/rtas: unexport rtas_online_cpus_mask, rtas_offline_cpus_mask

From: Michael Ellerman <hidden>
Date: 2019-08-10 10:38:48

On Thu, 2019-07-18 at 16:22:14 UTC, Nathan Lynch wrote:
These aren't used by modular code, nor should they be.

Fixes: 120496ac2d2d ("powerpc: Bring all threads online prior to migration/hibernation")
Signed-off-by: Nathan Lynch <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/ae2e953fdca791270e80c08d6a830d9aa472a111

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help