diff options
| author | Peter Zijlstra <[email protected]> | 2020-02-07 11:57:36 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2020-02-11 11:56:26 +0000 |
| commit | be993e44badc448add6a18d6f12b20615692c4c3 (patch) | |
| tree | e1fb23b396ab0d64257bdd8796808c1db05e3f92 /tools/perf/builtin-annotate.c | |
| parent | Merge branch 'for-5.6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-be993e44badc448add6a18d6f12b20615692c4c3.tar.gz kernel-be993e44badc448add6a18d6f12b20615692c4c3.zip | |
arm/ftrace: Fix BE text poking
The __patch_text() function already applies __opcode_to_mem_*(), so
when __opcode_to_mem_*() is not the identity (BE*), it is applied
twice, wrecking the instruction.
Fixes: 42e51f187f86 ("arm/ftrace: Use __patch_text()")
Reported-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Tested-by: Dmitry Osipenko <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
