hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/powerpc/kernel/trace/ftrace_32.S
....@@ -1,10 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Split from entry_32.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>
....@@ -54,6 +50,7 @@
5450
5551 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
5652 _GLOBAL(ftrace_graph_caller)
53
+ addi r5, r1, 48
5754 /* load r4 with local address */
5855 lwz r4, 44(r1)
5956 subi r4, r4, MCOUNT_INSN_SIZE