diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-03-10 14:54:13 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-05-06 15:58:24 +0300 |
commit | 40190a78f85fec29f0fdd21f6b4415712085711e (patch) | |
tree | 361bbb6d81e35ac5bd4783926aabf7394de85dd4 /include/linux/sched.h | |
parent | c6d2c7475ced868cfc636cd5a55a428da94537c3 (diff) | |
download | linux-40190a78f85fec29f0fdd21f6b4415712085711e.tar.xz |
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.h | 2 |
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); |