]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/rtas: Make enter_rtas a nokprobe symbol on 64-bit
authorNicholas Piggin <npiggin@gmail.com>
Tue, 8 Mar 2022 13:50:35 +0000 (23:50 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 May 2022 13:11:27 +0000 (23:11 +1000)
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
arch/powerpc/kernel/rtas_entry.S

index 9ae1ca3c6fca5972b95bf15647a25f039435405a..ee5ad962cbab3f929e666515b4f90dd8e5979b34 100644 (file)
@@ -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)