summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/ftrace-mod.S
blob: 00c4025be4ff83d45a8d04ab6e1bcbdf49d4200e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (C) 2017 Linaro Ltd <ard.biesheuvel@linaro.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/linkage.h>
#include <asm/assembler.h>

	.section	".text.ftrace_trampoline", "ax"
	.align		3
0:	.quad		0
__ftrace_trampoline:
	ldr		x16, 0b
	br		x16
ENDPROC(__ftrace_trampoline)