Pratyush Anand d0d6223018 arm64: ftrace: fix ftrace_modify_graph_caller for branch replace
ftrace_enable_ftrace_graph_caller and ftrace_disable_ftrace_graph_caller
should replace B(jmp) instruction and not BL(call) instruction.

Commit 9f1ae7596aad("arm64: Correct ftrace calls to
aarch64_insn_gen_branch_imm()") had a typo and used
AARCH64_INSN_BRANCH_LINK instead of AARCH64_INSN_BRANCH_NOLINK.

Either instruction will work, as the link register is saved/restored
across the branch but this better matches the intention of the code.

Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-02-23 09:13:45 +00:00
..
2012-09-17 13:42:21 +01:00
2014-05-29 09:08:08 +01:00
2014-12-09 13:12:47 -08:00
2014-07-10 12:36:40 +01:00
2015-01-22 11:50:56 +00:00
2014-09-25 15:35:41 +01:00
2014-11-28 10:24:59 +00:00
2015-01-27 09:38:08 +00:00