Skip to content

Commit f13ad88

Browse files
Jiri Slabysuryasaimadhu
authored andcommitted
x86/asm/ftrace: Mark function_hook as function
Relabel function_hook to be marked really as a function. It is called from C and has the same expectations towards the stack etc. Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: [email protected] Cc: Masami Hiramatsu <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: "Steven Rostedt (VMware)" <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: x86-ml <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent ef1e031 commit f13ad88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/kernel/ftrace_32.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ EXPORT_SYMBOL(__fentry__)
2121
# define MCOUNT_FRAME 0 /* using frame = false */
2222
#endif
2323

24-
ENTRY(function_hook)
24+
SYM_FUNC_START(function_hook)
2525
ret
26-
END(function_hook)
26+
SYM_FUNC_END(function_hook)
2727

2828
ENTRY(ftrace_caller)
2929

0 commit comments

Comments
 (0)