powerpc/modules: Create module_trampoline_target()
authorAnton Blanchard <anton@samba.org>
Fri, 4 Apr 2014 04:58:42 +0000 (15:58 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:34 +0000 (10:05 +1000)
commitdd9fa162505c07e1917c96a1a12ca117b1afe55a
tree9ce7575c9d5adb622c58c491688fa66510069657
parent83775b85668a85036973c71264a959236e7becbd
powerpc/modules: Create module_trampoline_target()

ftrace has way too much knowledge of our kernel module trampoline
layout hidden inside it. Create module_trampoline_target() that gives
the target address of a kernel module trampoline.

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/include/asm/module.h
arch/powerpc/kernel/module_64.c