]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit7e8b9c1d2e2f5f45db7d40b50d14f606097c25de
treebbce43dfb8ebcfc44fcfb837363205628a608592
parentf81a348728ec5ac43f3bbcf81c97d52baba253f7
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