summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorThomas Gleixner2016-03-10 12:54:13 +0100
committerThomas Gleixner2016-05-06 14:58:24 +0200
commit40190a78f85fec29f0fdd21f6b4415712085711e (patch)
tree361bbb6d81e35ac5bd4783926aabf7394de85dd4 /include/linux/sched.h
parentsched: Move sched_domains_numa_masks_clear() to DOWN_PREPARE (diff)
downloadkernel-qcow2-linux-40190a78f85fec29f0fdd21f6b4415712085711e.tar.gz
kernel-qcow2-linux-40190a78f85fec29f0fdd21f6b4415712085711e.tar.xz
kernel-qcow2-linux-40190a78f85fec29f0fdd21f6b4415712085711e.zip
sched/hotplug: Convert cpu_[in]active notifiers to state machine
Now that we reduced everything into single notifiers, it's simple to move them into the hotplug state machine space. 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 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 39597d0a005e..1e5f961b1a74 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -373,6 +373,8 @@ extern void trap_init(void);
extern void update_process_times(int user);
extern void scheduler_tick(void);
extern int sched_cpu_starting(unsigned int cpu);
+extern int sched_cpu_activate(unsigned int cpu);
+extern int sched_cpu_deactivate(unsigned int cpu);
extern void sched_show_task(struct task_struct *p);