mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 07:30:16 +00:00
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>
This commit is contained in:
parent
2c57ad6024
commit
9652cb805c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user