We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c122358 commit 8c85430Copy full SHA for 8c85430
include/linux/cpu.h
@@ -143,12 +143,6 @@ static inline int remove_cpu(unsigned int cpu) { return -EPERM; }
143
static inline void smp_shutdown_nonboot_cpus(unsigned int primary_cpu) { }
144
#endif /* !CONFIG_HOTPLUG_CPU */
145
146
-/* Wrappers which go away once all code is converted */
147
-static inline void cpu_hotplug_begin(void) { cpus_write_lock(); }
148
-static inline void cpu_hotplug_done(void) { cpus_write_unlock(); }
149
-static inline void get_online_cpus(void) { cpus_read_lock(); }
150
-static inline void put_online_cpus(void) { cpus_read_unlock(); }
151
-
152
#ifdef CONFIG_PM_SLEEP_SMP
153
extern int freeze_secondary_cpus(int primary);
154
extern void thaw_secondary_cpus(void);
0 commit comments