Skip to content

Commit 91970be

Browse files
JoePercheswilldeacon
authored andcommitted
arm64: ftrace: Change CONFIG_FTRACE_WITH_REGS to CONFIG_DYNAMIC_FTRACE_WITH_REGS
CONFIG_FTRACE_WITH_REGS does not exist as a Kconfig symbol. Fixes: 3b23e49 ("arm64: implement ftrace with regs") Signed-off-by: Joe Perches <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent 5311ebf commit 91970be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/arm64/kernel/ftrace.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ static struct plt_entry *get_ftrace_plt(struct module *mod, unsigned long addr)
6969

7070
if (addr == FTRACE_ADDR)
7171
return &plt[FTRACE_PLT_IDX];
72-
if (addr == FTRACE_REGS_ADDR && IS_ENABLED(CONFIG_FTRACE_WITH_REGS))
72+
if (addr == FTRACE_REGS_ADDR &&
73+
IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_REGS))
7374
return &plt[FTRACE_REGS_PLT_IDX];
7475
#endif
7576
return NULL;

0 commit comments

Comments
 (0)