]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: module-plts: factor out PLT generation code for ftrace
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 20 Nov 2017 17:41:29 +0000 (17:41 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 1 Dec 2017 12:30:21 +0000 (12:30 +0000)
commit8f6d47bdc5073364364a8c1b1524b89231e77e49
treebbce43dfb8ebcfc44fcfb837363205628a608592
parentadbdeab0064e88d948891208418da851ae032992
arm64: module-plts: factor out PLT generation code for ftrace

To allow the ftrace trampoline code to reuse the PLT entry routines,
factor it out and move it into asm/module.h.

Cc: <stable@vger.kernel.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/module.h
arch/arm64/kernel/module-plts.c