projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26e9b83
)
arm64: Add 'notrace' attribute to unwind_frame() for ftrace
author
AKASHI Takahiro
<takahiro.akashi@linaro.org>
Wed, 30 Apr 2014 09:54:31 +0000
(10:54 +0100)
committer
Will Deacon
<will.deacon@arm.com>
Thu, 29 May 2014 08:04:31 +0000
(09:04 +0100)
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>
arch/arm64/kernel/stacktrace.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/stacktrace.c
b/arch/arm64/kernel/stacktrace.c
index 38f0558f0c0a56a7a57fe9bb12d08eb01dea7cdc..55437ba1f5a4901984e368dca7c43d5c76c218b3 100644
(file)
--- 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;