fgraph: Change the name of cpuhp state to "fgraph:online"
BugLink: https://bugs.launchpad.net/bugs/2097575 [ Upstream commit a574e7f80e86c740e241c762923f50077b2c2a30 ] The cpuhp state name given to cpuhp_setup_state() is "fgraph_idle_init" which doesn't really conform to the names that are used for cpu hotplug setups. Instead rename it to "fgraph:online" to be in line with other states. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/20241024222944.473d88c5@rorschach.local.home Suggested-by: Masami Hiramatsu <mhiramat@kernel.org> Fixes: 2c02f7375e658 ("fgraph: Use CPU hotplug mechanism to initialize idle shadow stacks") Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
This commit is contained in:
committed by
Stefan Bader
parent
fdaab63931
commit
4da4511120
@@ -640,7 +640,7 @@ int register_ftrace_graph(struct fgraph_ops *gops)
|
||||
guard(mutex)(&ftrace_lock);
|
||||
|
||||
if (!fgraph_initialized) {
|
||||
ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "fgraph_idle_init",
|
||||
ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "fgraph:online",
|
||||
fgraph_cpu_init, NULL);
|
||||
if (ret < 0) {
|
||||
pr_warn("fgraph: Error to init cpu hotplug support\n");
|
||||
|
||||
Reference in New Issue
Block a user