Skip to content

Commit 90955d7

Browse files
mrutland-armctmarinas
authored andcommitted
arm64: ftrace: Update stale comment
In commit: 26299b3 ("ftrace: arm64: move from REGS to ARGS") ... we folded ftrace_regs_entry into ftrace_caller, and ftrace_regs_entry no longer exists. Update the comment accordingly. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Florent Revest <revest@chromium.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20230123134603.1064407-8-mark.rutland@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent e4ecbe8 commit 90955d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/kernel/ftrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr)
209209
* | NOP | MOV X9, LR | MOV X9, LR |
210210
* | NOP | NOP | BL <entry> |
211211
*
212-
* The LR value will be recovered by ftrace_regs_entry, and restored into LR
212+
* The LR value will be recovered by ftrace_caller, and restored into LR
213213
* before returning to the regular function prologue. When a function is not
214214
* being traced, the MOV is not harmful given x9 is not live per the AAPCS.
215215
*

0 commit comments

Comments
 (0)