diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2022-03-08 23:50:35 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-19 23:11:27 +1000 |
commit | 07940b4b61cf0cbcfb9e4226c07318f737157c42 (patch) | |
tree | d0dfcf26f691200941e701f6fa6c895b29c3e1a2 /arch/powerpc/kernel/rtas_entry.S | |
parent | 838ee286ecc9a3c76e6bd8f5aaad0c8c5c66b9ca (diff) | |
download | linux-07940b4b61cf0cbcfb9e4226c07318f737157c42.tar.gz |
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.S | 1 |
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) |