commit | be993e44badc448add6a18d6f12b20615692c4c3 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Fri Feb 07 12:57:36 2020 +0100 |
committer | Ingo Molnar <mingo@kernel.org> | Tue Feb 11 12:56:26 2020 +0100 |
tree | e1fb23b396ab0d64257bdd8796808c1db05e3f92 | |
parent | 0a679e13ea30f85a1aef0669ee0c5a9fd7860b34 [diff] |
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 <digetx@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Tested-by: Dmitry Osipenko <digetx@gmail.com>