summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2016-03-10 06:54:09 -0500
committerThomas Gleixner <tglx@linutronix.de>2016-05-06 08:58:23 -0400
commit9cf7243d5d83d27aca47f842107bfa02b5f11d16 (patch)
tree7d799da897639ca17556e4c67d707f6b060a4320 /kernel/cpu.c
parente9d867a67fd03ccc07248ca4e9c2f74fed494d5b (diff)
sched: Make set_cpu_rq_start_time() a built in hotplug state
Start distangling the maze of hotplug notifiers in the scheduler. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: rt@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r--kernel/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 3e3f6e49eabb..f46d02b966bf 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -1236,6 +1236,12 @@ static struct cpuhp_step cpuhp_ap_states[] = {
1236 .name = "ap:offline", 1236 .name = "ap:offline",
1237 .cant_stop = true, 1237 .cant_stop = true,
1238 }, 1238 },
1239 /* First state is scheduler control. Interrupts are disabled */
1240 [CPUHP_AP_SCHED_STARTING] = {
1241 .name = "sched:starting",
1242 .startup = sched_cpu_starting,
1243 .teardown = NULL,
1244 },
1239 /* 1245 /*
1240 * Low level startup/teardown notifiers. Run with interrupts 1246 * Low level startup/teardown notifiers. Run with interrupts
1241 * disabled. Will be removed once the notifiers are converted to 1247 * disabled. Will be removed once the notifiers are converted to