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 <[email protected]> Cc: Florent Revest <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent e4ecbe8 commit 90955d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)