Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bcd9d271 authored by Steven Rostedt's avatar Steven Rostedt Committed by Pratik Patel
Browse files

arm/ftrace: fix ftrace_return_addr() to ftrace_return_address()



The clean up of CALLER_ADDR*() functions required the archs to either
use the default __builtin_return_address(X) (where X > 0) or override
it with something the arch can use. To override it, the arch would
define ftrace_return_address(x).

The arm architecture requires this to be redefined but instead of
defining ftrace_return_address(x) it defined ftrace_return_addr(x).

Change-Id: Ia6bf5cd40f3b9e064e092f12520e0efdbec2f5e2
Fixes: eed542d6962b (ftrace: Make CALLER_ADDRx macros more generic)
Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Tested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Git-commit: 1712ef43af71b0a0498ad370f0829d6b85fa2dca
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarPratik Patel <pratikp@codeaurora.org>
parent e9d60cf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment