OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff7c76f
)
powerpc/rtas: unexport 'rtas' symbol
author
Nathan Lynch
<nathanl@linux.ibm.com>
Tue, 24 Jan 2023 14:04:45 +0000
(08:04 -0600)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 30 Jan 2023 06:42:52 +0000
(17:42 +1100)
No modular code needs access to the 'rtas' struct, so remove the
symbol export.
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20230124140448.45938-2-nathanl@linux.ibm.com
arch/powerpc/kernel/rtas.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/rtas.c
b/arch/powerpc/kernel/rtas.c
index
deded51
..
6c5716b
100644
(file)
--- 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);