]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kernel: Use kprobe blacklist for asm functions
authorNicholas Piggin <npiggin@gmail.com>
Fri, 16 Sep 2016 10:48:17 +0000 (20:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Sep 2016 00:53:55 +0000 (10:53 +1000)
commitc529c1bee50205afeffefe6fbe0cfd36391a2eb3
treee357b127a8ce4f76c0b67549b1814aa44994aada
parent482055161350f88f9ea97498d0df505936149bdd
powerpc/kernel: Use kprobe blacklist for asm functions

Rather than forcing the whole function into the ".kprobes.text" section,
just add the symbol's address to the kprobe blacklist.

This also lets us drop the three versions of the_KPROBE macro, in
exchange for just one version of _ASM_NOKPROBE_SYMBOL - which is a good
cleanup.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/kernel/misc_32.S
arch/powerpc/kernel/misc_64.S