From: Naveen N. Rao Date: Wed, 19 Apr 2017 15:29:52 +0000 (+0530) Subject: powerpc/kprobes: Blacklist common exception handlers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a914aa6824ac5d5fd3195ed422f31540a0ab767;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git powerpc/kprobes: Blacklist common exception handlers Blacklist all the exception common/OOL handlers as the kernel stack is not yet setup, which means we can't take a trap at this point. Signed-off-by: Naveen N. Rao Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/include/asm/head-64.h b/arch/powerpc/include/asm/head-64.h index 5067048daad4..86eb87382031 100644 --- a/arch/powerpc/include/asm/head-64.h +++ b/arch/powerpc/include/asm/head-64.h @@ -213,6 +213,7 @@ name: USE_TEXT_SECTION(); \ .balign IFETCH_ALIGN_BYTES; \ .global name; \ + _ASM_NOKPROBE_SYMBOL(name); \ DEFINE_FIXED_SYMBOL(name); \ name: