| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 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. |
|---|
| 8 | 4 | */ |
|---|
| 9 | 5 | |
|---|
| 10 | 6 | #include <linux/magic.h> |
|---|
| .. | .. |
|---|
| 45 | 41 | |
|---|
| 46 | 42 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
|---|
| 47 | 43 | _GLOBAL(ftrace_graph_caller) |
|---|
| 44 | + addi r5, r1, 112 |
|---|
| 48 | 45 | /* load r4 with local address */ |
|---|
| 49 | 46 | ld r4, 128(r1) |
|---|
| 50 | 47 | subi r4, r4, MCOUNT_INSN_SIZE |
|---|