diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2014-03-15 14:40:43 +0900 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2014-06-04 17:55:22 +0800 |
commit | c0b39882849bbd4eb48620665307469237aa2e97 (patch) | |
tree | 9fd01461a98a77f6db0e9ec2f551c916591a9f4d | |
parent | de8e380b1f7ba30ba9e6515b959bab2eef87ae3b (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: Mark Brown <broonie@linaro.org>
(cherry picked from LSK commit 8370369c5c33b9d573575249f080a905323d7eb4)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
-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; |