diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2014-04-30 05:54:31 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2014-05-29 04:04:31 -0400 |
commit | 26e2ae39995469b9289aa1ec0144e256d56eb044 (patch) | |
tree | 31a2c9d97432f2fa7f9764a0d50a42477cbe2fe8 /arch/arm64 | |
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/arm64')
-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 @@ | |||
35 | * ldp x29, x30, [sp] | 35 | * ldp x29, x30, [sp] |
36 | * add sp, sp, #0x10 | 36 | * add sp, sp, #0x10 |
37 | */ | 37 | */ |
38 | int unwind_frame(struct stackframe *frame) | 38 | int notrace unwind_frame(struct stackframe *frame) |
39 | { | 39 | { |
40 | unsigned long high, low; | 40 | unsigned long high, low; |
41 | unsigned long fp = frame->fp; | 41 | unsigned long fp = frame->fp; |