diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2014-04-30 10:54:31 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-05-29 09:04:31 +0100 |
commit | 26e2ae39995469b9289aa1ec0144e256d56eb044 (patch) | |
tree | 31a2c9d97432f2fa7f9764a0d50a42477cbe2fe8 /arch | |
parent | 26e9b83a7d3e9dbe276301b637f65321bdd0939b (diff) |
arm64: Add 'notrace' attribute to unwind_frame() for ftrace
walk_stackframe() calls unwind_frame(), and if walk_stackframe() is
"notrace", unwind_frame() should be also "notrace".
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/kernel/stacktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/stacktrace.c b/arch/arm64/kernel/stacktrace.c index 38f0558f0c0a..55437ba1f5a4 100644 --- a/arch/arm64/kernel/stacktrace.c +++ b/arch/arm64/kernel/stacktrace.c @@ -35,7 +35,7 @@ * ldp x29, x30, [sp] * add sp, sp, #0x10 */ -int unwind_frame(struct stackframe *frame) +int notrace unwind_frame(struct stackframe *frame) { unsigned long high, low; unsigned long fp = frame->fp; |