OSDN Git Service

powerpc/modules: Create is_module_trampoline()
authorAnton Blanchard <anton@samba.org>
Thu, 3 Apr 2014 09:00:43 +0000 (20:00 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:34 +0000 (10:05 +1000)
commit83775b85668a85036973c71264a959236e7becbd
tree3a751b74a5fa580b3371ff747a626970a52db089
parent47f86b4e07afd4652ab0b092cbf493bf8b96559e
powerpc/modules: Create is_module_trampoline()

ftrace has way too much knowledge of our kernel module trampoline
layout hidden inside it. Create is_module_trampoline() that can
abstract this away inside the module loader code.

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