aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/rtas_entry.S
diff options
context:
space:
mode:
authorGravatar Nicholas Piggin <npiggin@gmail.com> 2022-03-08 23:50:35 +1000
committerGravatar Michael Ellerman <mpe@ellerman.id.au> 2022-05-19 23:11:27 +1000
commit07940b4b61cf0cbcfb9e4226c07318f737157c42 (patch)
treed0dfcf26f691200941e701f6fa6c895b29c3e1a2 /arch/powerpc/kernel/rtas_entry.S
parentpowerpc/rtas: Move rtas entry assembly into its own file (diff)
downloadlinux-07940b4b61cf0cbcfb9e4226c07318f737157c42.tar.gz
linux-07940b4b61cf0cbcfb9e4226c07318f737157c42.tar.bz2
linux-07940b4b61cf0cbcfb9e4226c07318f737157c42.zip
powerpc/rtas: Make enter_rtas a nokprobe symbol on 64-bit
This symbol is marked nokprobe on 32-bit but not 64-bit, add it. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220308135047.478297-3-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/kernel/rtas_entry.S')
-rw-r--r--arch/powerpc/kernel/rtas_entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/rtas_entry.S b/arch/powerpc/kernel/rtas_entry.S
index 9ae1ca3c6fca..ee5ad962cbab 100644
--- a/arch/powerpc/kernel/rtas_entry.S
+++ b/arch/powerpc/kernel/rtas_entry.S
@@ -164,6 +164,7 @@ rtas_return_loc:
mtspr SPRN_SRR1,r4
RFI_TO_KERNEL
b . /* prevent speculative execution */
+_ASM_NOKPROBE_SYMBOL(enter_rtas)
_ASM_NOKPROBE_SYMBOL(__enter_rtas)
_ASM_NOKPROBE_SYMBOL(rtas_return_loc)