]> git.ipfire.org Git - thirdparty/linux.git/blob - arch/arm64/kernel/ftrace-mod.S
arm64: module-plts: factor out PLT generation code for ftrace
[thirdparty/linux.git] / arch / arm64 / kernel / ftrace-mod.S
1 /*
2 * Copyright (C) 2017 Linaro Ltd <ard.biesheuvel@linaro.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9 #include <linux/linkage.h>
10 #include <asm/assembler.h>
11
12 .section ".text.ftrace_trampoline", "ax"
13 .align 3
14 0: .quad 0
15 __ftrace_trampoline:
16 ldr x16, 0b
17 br x16
18 ENDPROC(__ftrace_trampoline)