diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2020-03-31 18:03:44 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-06-02 12:59:11 +0200 |
commit | 5f32e8361cba8c58c4f272a389296f489ecc2823 (patch) | |
tree | 16b96fc255b85cc543f0f1c90a500c7d97ff3c8e /arch/powerpc/kernel/vector.S | |
parent | powerpc/rtas: Remove machine_check_in_rtas() (diff) | |
download | linux-5f32e8361cba8c58c4f272a389296f489ecc2823.tar.xz linux-5f32e8361cba8c58c4f272a389296f489ecc2823.zip |
powerpc/32: Blacklist functions running with MMU disabled for kprobe
kprobe does not handle events happening in real mode, all
functions running with MMU disabled have to be blacklisted.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3bf57066d05518644dee0840af69d36ab5086729.1585670437.git.christophe.leroy@c-s.fr
Diffstat (limited to 'arch/powerpc/kernel/vector.S')
-rw-r--r-- | arch/powerpc/kernel/vector.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vector.S b/arch/powerpc/kernel/vector.S index d20c5e79e03c..efc5b52f95d2 100644 --- a/arch/powerpc/kernel/vector.S +++ b/arch/powerpc/kernel/vector.S @@ -89,6 +89,7 @@ _GLOBAL(load_up_altivec) REST_32VRS(0,r4,r6) /* restore registers and return */ blr +_ASM_NOKPROBE_SYMBOL(load_up_altivec) /* * save_altivec(tsk) |