mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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>
This commit is contained in:
parent
1f640552d9
commit
64dff07b1c
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue