diff options
author | Pratyush Anand <panand@redhat.com> | 2015-02-13 05:06:21 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-02-23 10:13:45 +0100 |
commit | d0d62230185e9d1a683bfa5cdfe5e520577f68d1 (patch) | |
tree | 051bcd54364207bcfe982963f13da787441fbf67 /crypto/pcrypt.c | |
parent | Linux 4.0-rc1 (diff) | |
download | linux-d0d62230185e9d1a683bfa5cdfe5e520577f68d1.tar.xz linux-d0d62230185e9d1a683bfa5cdfe5e520577f68d1.zip |
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>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions