diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2014-03-15 14:40:43 +0900 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-30 18:15:42 +0100 |
commit | 8370369c5c33b9d573575249f080a905323d7eb4 (patch) | |
tree | d5eb449dfeb25d92891cd29086f7ef71193365dc | |
parent | f2f646bdd599cb551bfeb8f1934a9e14ccfeac84 (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>
-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 d25459ff57fc..03dd5a2e2435 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; |