Skip to content

Commit 9652cb8

Browse files
committed
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>
1 parent 2c57ad6 commit 9652cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/s390/kernel/ftrace.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,13 @@ NOKPROBE_SYMBOL(prepare_ftrace_return);
341341
*/
342342
int ftrace_enable_ftrace_graph_caller(void)
343343
{
344-
brcl_disable(__va(ftrace_graph_caller));
344+
brcl_disable(ftrace_graph_caller);
345345
return 0;
346346
}
347347

348348
int ftrace_disable_ftrace_graph_caller(void)
349349
{
350-
brcl_enable(__va(ftrace_graph_caller));
350+
brcl_enable(ftrace_graph_caller);
351351
return 0;
352352
}
353353

0 commit comments

Comments
 (0)