]> git.karo-electronics.de Git - linux-beck.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)
commit6f698df10cb24d466b9a790b9daedb9e7bcd5d2a
treee357b127a8ce4f76c0b67549b1814aa44994aada
parent03465f899bdac70d34f6ca447a74d8ae9e284ce5
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