aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2022-01-24 10:38:15 +0100
committerArd Biesheuvel <[email protected]>2022-02-09 09:12:32 +0100
commitdd88b03ff0c84f4bcbe1419b93a4bed429fed3be (patch)
treea5f52e7116906b16f4248dccaa4dca6c75b9e0b3 /net/lapb/lapb_subr.c
parent2fa3948244939471bfc93fa2f7cf3a1aadf79822 (diff)
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 <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Reviewed-by: Steven Rostedt (Google) <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions