Peter Zijlstra be993e44ba 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>
2020-02-11 12:56:26 +01:00
..
2020-02-08 14:17:27 -08:00
2019-09-03 22:09:46 +02:00
2020-02-08 14:15:41 -08:00
2020-02-11 12:56:26 +01:00
2020-01-27 19:59:28 +01:00
2019-10-22 17:37:29 +01:00
2019-09-30 10:04:28 -07:00
2020-02-08 13:55:25 -08:00
2020-02-08 14:17:27 -08:00
2020-02-08 13:55:25 -08:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2020-02-08 14:17:27 -08:00
2019-06-17 05:14:24 -07:00
2020-02-08 13:55:25 -08:00
2019-07-19 17:05:08 -07:00
2019-07-19 17:05:08 -07:00
2020-02-04 13:12:19 +00:00
2020-01-29 19:38:34 -08:00
2019-11-28 11:16:43 -08:00
2020-02-04 13:12:19 +00:00
2019-09-22 09:39:09 -07:00