]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Introduce a new helper to obtain function entry points
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Wed, 19 Apr 2017 12:52:27 +0000 (18:22 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Apr 2017 09:07:58 +0000 (19:07 +1000)
commit1b32cd1715378c9a3856df4a80920f8e241f914c
tree4f8a016601e31101e6b26c44ab563cc680dc7ff1
parentead514d5fb30a0889d51c0f0e35c3e346165a955
powerpc: Introduce a new helper to obtain function entry points

kprobe_lookup_name() is specific to the kprobe subsystem and may not always
return the function entry point (in a subsequent patch for KPROBES_ON_FTRACE).
For looking up function entry points, introduce a separate helper and use it
in optprobes.c

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/code-patching.h
arch/powerpc/kernel/optprobes.c