summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2020-03-31 16:03:38 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-06-02 20:59:09 +1000
commit7aa85127b1a170694b042cbc35a07afe3904173e (patch)
tree96cf29df61476c8d5a923ad74bc8b4542fca4a43
parent1740f15a99d30a5e2710b2b0754e65fc5ba68d1d (diff)
downloadlinux-7aa85127b1a170694b042cbc35a07afe3904173e.tar.bz2
powerpc/83xx: Blacklist mpc83xx_deep_resume() 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/3ac4ab8dd7008b9706d9228a60645a1756fa84bf.1585670437.git.christophe.leroy@c-s.fr
-rw-r--r--arch/powerpc/platforms/83xx/suspend-asm.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/83xx/suspend-asm.S b/arch/powerpc/platforms/83xx/suspend-asm.S
index 3acd7470dc5e..bc6bd4d0ae96 100644
--- a/arch/powerpc/platforms/83xx/suspend-asm.S
+++ b/arch/powerpc/platforms/83xx/suspend-asm.S
@@ -548,3 +548,4 @@ mpc83xx_deep_resume:
mtdec r0
rfi
+_ASM_NOKPROBE_SYMBOL(mpc83xx_deep_resume)