[PATCH v2 1/4] powerpc/rtas: unexport 'rtas' symbol
Nathan Lynch
nathanl at linux.ibm.com
Wed Jan 25 01:04:45 AEDT 2023
No modular code needs access to the 'rtas' struct, so remove the
symbol export.
Suggested-by: Michael Ellerman <mpe at ellerman.id.au>
Signed-off-by: Nathan Lynch <nathanl at linux.ibm.com>
---
arch/powerpc/kernel/rtas.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index deded51a7978..6c5716b19d69 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -63,7 +63,6 @@ static inline void do_enter_rtas(unsigned long args)
struct rtas_t rtas = {
.lock = __ARCH_SPIN_LOCK_UNLOCKED
};
-EXPORT_SYMBOL(rtas);
DEFINE_SPINLOCK(rtas_data_buf_lock);
EXPORT_SYMBOL(rtas_data_buf_lock);
--
2.37.1
More information about the Linuxppc-dev
mailing list