ARM: mach-bcm: disable ftrace in SMC invocation routines
authorArd Biesheuvel <ardb@kernel.org>
Tue, 1 Feb 2022 10:56:44 +0000 (11:56 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 10 Feb 2022 08:54:54 +0000 (09:54 +0100)
commit64dff07b1c37b4840a6ef8698dbd2f701a407e48
tree0dc9f6deebb95f8657727c83e7632a984dc7a12b
parent1f640552d9878f2dbcbd46c78078e4ea2eb2b262
ARM: mach-bcm: disable ftrace in SMC invocation routines

The SMC calling convention uses R7 as an argument register, which
conflicts with its use as a frame pointer when building in Thumb2 mode.
Given that Clang with ftrace does not permit frame pointers to be
disabled, let's omit this compilation unit from ftrace instrumentation.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Nick Desaulniers <ndesaulniers@google.com>
arch/arm/mach-bcm/Makefile