Skip to content
Snippets Groups Projects
Commit fd61d14a authored by leichuan's avatar leichuan Committed by Kenneth Johansson
Browse files

Add GPTC hotplug cpu state

parent 85015700
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,6 @@
* the file called "COPYING".
*
******************************************************************************/
#define DEBUG
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
......@@ -667,7 +665,7 @@ static int gptc_dying_cpu(unsigned int cpu)
static void gptc_clkevent_init(void)
{
cpuhp_setup_state(CPUHP_AP_ONLINE_DYN,
cpuhp_setup_state(CPUHP_AP_INTEL_GPTC_TIMER_STARTING,
"AP_INTEL_GPTC_TIMER_STARTING", gptc_starting_cpu,
gptc_dying_cpu);
}
......
......@@ -104,6 +104,7 @@ enum cpuhp_state {
CPUHP_TEARDOWN_CPU,
CPUHP_AP_ONLINE_IDLE,
CPUHP_AP_SMPBOOT_THREADS,
CPUHP_AP_INTEL_GPTC_TIMER_STARTING,
CPUHP_AP_X86_VDSO_VMA_ONLINE,
CPUHP_AP_PERF_ONLINE,
CPUHP_AP_PERF_X86_ONLINE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment