hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/powerpc/kernel/trace/ftrace_64_pg.S
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Split from ftrace_64.S
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation; either version
7
- * 2 of the License, or (at your option) any later version.
84 */
95
106 #include <linux/magic.h>
....@@ -45,6 +41,7 @@
4541
4642 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
4743 _GLOBAL(ftrace_graph_caller)
44
+ addi r5, r1, 112
4845 /* load r4 with local address */
4946 ld r4, 128(r1)
5047 subi r4, r4, MCOUNT_INSN_SIZE