diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-09-07 20:37:59 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-09-08 14:23:31 +0200 |
commit | 9652cb805c44b74ba935c84bfd59745cb1962de8 (patch) | |
tree | 3eb0cccbf3107aa23943540af97a3b76e7771a30 /arch | |
parent | 2c57ad602493a6674d5c8e35b427ab27012437b2 (diff) |
s390/ftrace: remove incorrect __va usage
The address of ftrace_graph_caller is already virtual.
Using __va() to translate the address is wrong.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/kernel/ftrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/ftrace.c b/arch/s390/kernel/ftrace.c index 0a464d328467..1d94ffdf347b 100644 --- a/arch/s390/kernel/ftrace.c +++ b/arch/s390/kernel/ftrace.c @@ -341,13 +341,13 @@ NOKPROBE_SYMBOL(prepare_ftrace_return); */ int ftrace_enable_ftrace_graph_caller(void) { - brcl_disable(__va(ftrace_graph_caller)); + brcl_disable(ftrace_graph_caller); return 0; } int ftrace_disable_ftrace_graph_caller(void) { - brcl_enable(__va(ftrace_graph_caller)); + brcl_enable(ftrace_graph_caller); return 0; } |