Ard Biesheuvel dd88b03ff0 ARM: ftrace: ensure that ADR takes the Thumb bit into account
Using ADR to take the address of 'ftrace_stub' via a local label
produces an address that has the Thumb bit cleared, which means the
subsequent comparison is guaranteed to fail. Instead, use the badr
macro, which forces the Thumb bit to be set.

Fixes: a3ba87a61499 ("ARM: 6316/1: ftrace: add Thumb-2 support")
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2022-02-09 09:12:32 +01:00
..
2021-10-20 13:36:30 -05:00
2021-12-06 12:49:11 +01:00
2020-12-22 13:34:27 -08:00
2020-02-11 12:56:27 +01:00
2021-09-09 13:25:49 -07:00
2021-06-13 18:16:48 +01:00
2020-10-30 21:57:05 +01:00
2020-12-15 12:13:41 -08:00