]> 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)
commit604216b6b8478277b28f829a549c316eb34c6e56
treee357b127a8ce4f76c0b67549b1814aa44994aada
parentdfa2512d4999887c636a0726b1cbf9109381135c
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