diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-02-26 13:43:36 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-03-01 14:36:56 -0500 |
commit | 931ef163309ee955611f287dc65248b39a65fc9d (patch) | |
tree | 5bf19b5c5cc9bc73db3cd575335413a653c58cc6 /include/linux/cpu.h | |
parent | 949338e35131c551f7bf54f48a2e3a227af6721b (diff) |
cpu/hotplug: Unpark smpboot threads from the state machine
Handle the smpboot threads in the state machine.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-arch@vger.kernel.org
Cc: Rik van Riel <riel@redhat.com>
Cc: Rafael Wysocki <rafael.j.wysocki@intel.com>
Cc: "Srivatsa S. Bhat" <srivatsa@mit.edu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Turner <pjt@google.com>
Link: http://lkml.kernel.org/r/20160226182341.295777684@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/cpu.h')
-rw-r--r-- | include/linux/cpu.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 78989f20420f..83f35767016d 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h | |||
@@ -78,7 +78,7 @@ enum { | |||
78 | /* migration should happen before other stuff but after perf */ | 78 | /* migration should happen before other stuff but after perf */ |
79 | CPU_PRI_PERF = 20, | 79 | CPU_PRI_PERF = 20, |
80 | CPU_PRI_MIGRATION = 10, | 80 | CPU_PRI_MIGRATION = 10, |
81 | CPU_PRI_SMPBOOT = 9, | 81 | |
82 | /* bring up workqueues before normal notifiers and down after */ | 82 | /* bring up workqueues before normal notifiers and down after */ |
83 | CPU_PRI_WORKQUEUE_UP = 5, | 83 | CPU_PRI_WORKQUEUE_UP = 5, |
84 | CPU_PRI_WORKQUEUE_DOWN = -5, | 84 | CPU_PRI_WORKQUEUE_DOWN = -5, |
@@ -172,7 +172,6 @@ static inline void __unregister_cpu_notifier(struct notifier_block *nb) | |||
172 | } | 172 | } |
173 | #endif | 173 | #endif |
174 | 174 | ||
175 | void smpboot_thread_init(void); | ||
176 | int cpu_up(unsigned int cpu); | 175 | int cpu_up(unsigned int cpu); |
177 | void notify_cpu_starting(unsigned int cpu); | 176 | void notify_cpu_starting(unsigned int cpu); |
178 | extern void cpu_maps_update_begin(void); | 177 | extern void cpu_maps_update_begin(void); |
@@ -221,10 +220,6 @@ static inline void cpu_notifier_register_done(void) | |||
221 | { | 220 | { |
222 | } | 221 | } |
223 | 222 | ||
224 | static inline void smpboot_thread_init(void) | ||
225 | { | ||
226 | } | ||
227 | |||
228 | #endif /* CONFIG_SMP */ | 223 | #endif /* CONFIG_SMP */ |
229 | extern struct bus_type cpu_subsys; | 224 | extern struct bus_type cpu_subsys; |
230 | 225 | ||