diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-08-07 18:14:30 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-10-07 19:02:49 -0400 |
| commit | 02ef3c4a2aae65a1632b27770bfea3f83ca06772 (patch) | |
| tree | 534eebffbbd62b267ca4d6fd31145a97747fd3d0 /include/linux/cpu.h | |
| parent | 807226e2fbb504d82cd504b7b6114896db41ef63 (diff) | |
cpu: Remove try_get_online_cpus()
Now that synchronize_sched_expedited() no longer uses it, there are
no users of try_get_online_cpus() in mainline. This commit therefore
removes it.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/cpu.h')
| -rw-r--r-- | include/linux/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 23c30bdcca86..d2ca8c38f9c4 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h | |||
| @@ -228,7 +228,6 @@ extern struct bus_type cpu_subsys; | |||
| 228 | extern void cpu_hotplug_begin(void); | 228 | extern void cpu_hotplug_begin(void); |
| 229 | extern void cpu_hotplug_done(void); | 229 | extern void cpu_hotplug_done(void); |
| 230 | extern void get_online_cpus(void); | 230 | extern void get_online_cpus(void); |
| 231 | extern bool try_get_online_cpus(void); | ||
| 232 | extern void put_online_cpus(void); | 231 | extern void put_online_cpus(void); |
| 233 | extern void cpu_hotplug_disable(void); | 232 | extern void cpu_hotplug_disable(void); |
| 234 | extern void cpu_hotplug_enable(void); | 233 | extern void cpu_hotplug_enable(void); |
| @@ -246,7 +245,6 @@ int cpu_down(unsigned int cpu); | |||
| 246 | static inline void cpu_hotplug_begin(void) {} | 245 | static inline void cpu_hotplug_begin(void) {} |
| 247 | static inline void cpu_hotplug_done(void) {} | 246 | static inline void cpu_hotplug_done(void) {} |
| 248 | #define get_online_cpus() do { } while (0) | 247 | #define get_online_cpus() do { } while (0) |
| 249 | #define try_get_online_cpus() true | ||
| 250 | #define put_online_cpus() do { } while (0) | 248 | #define put_online_cpus() do { } while (0) |
| 251 | #define cpu_hotplug_disable() do { } while (0) | 249 | #define cpu_hotplug_disable() do { } while (0) |
| 252 | #define cpu_hotplug_enable() do { } while (0) | 250 | #define cpu_hotplug_enable() do { } while (0) |
