projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a95b74
)
x86/ftrace: Add one more ENDPROC annotation
author
Josh Poimboeuf
<
[email protected]
>
Sun, 28 Jan 2018 02:21:50 +0000
(20:21 -0600)
committer
Thomas Gleixner
<
[email protected]
>
Sun, 28 Jan 2018 08:19:12 +0000
(09:19 +0100)
When ORC support was added for the ftrace_64.S code, an ENDPROC
for function_hook() was missed. This results in the following warning:
arch/x86/kernel/ftrace_64.o: warning: objtool: .entry.text+0x0: unreachable instruction
Fixes: e2ac83d74a4d ("x86/ftrace: Fix ORC unwinding from ftrace handlers")
Reported-by: Steven Rostedt <
[email protected]
>
Reported-by: Borislav Petkov <
[email protected]
>
Signed-off-by: Josh Poimboeuf <
[email protected]
>
Signed-off-by: Thomas Gleixner <
[email protected]
>
Acked-by: Ingo Molnar <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Link:
https://lkml.kernel.org/r/20180128022150.dqierscqmt3uwwsr@treble
arch/x86/kernel/ftrace_64.S
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/ftrace_64.S
b/arch/x86/kernel/ftrace_64.S
index 7cb8ba08beb997ef66724e2db5e66021c5ce32ee..8774fd2ed390f723c0d0bd7d5cda865484818125 100644
(file)
--- a/
arch/x86/kernel/ftrace_64.S
+++ b/
arch/x86/kernel/ftrace_64.S
@@
-291,7
+291,7
@@
trace:
restore_mcount_regs
jmp fgraph_trace
-END(function_hook)
+END
PROC
(function_hook)
#endif /* CONFIG_DYNAMIC_FTRACE */
#ifdef CONFIG_FUNCTION_GRAPH_TRACER