ARM: ftrace: avoid unnecessary literal loads
authorArd Biesheuvel <ardb@kernel.org>
Tue, 7 Dec 2021 18:50:35 +0000 (19:50 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 9 Feb 2022 08:12:33 +0000 (09:12 +0100)
commit65aa7e342a988efee372e1e5fa8ed8b88fd4f949
treeb4b6f6189b2b398bffc140d50e797c8959037f59
parentd11967870815b5ab89843980e35aab616c97c463
ARM: ftrace: avoid unnecessary literal loads

Avoid explicit literal loads and instead, use accessor macros that
generate the optimal sequence depending on the architecture revision
being targeted.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
arch/arm/kernel/entry-ftrace.S