Skip to content

Commit 8c85430

Browse files
Sebastian Andrzej SiewiorKAGA-KOKO
authored andcommitted
cpu/hotplug: Remove deprecated CPU-hotplug functions.
No users in tree use the deprecated CPU-hotplug functions anymore. Remove them. Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c122358 commit 8c85430

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/linux/cpu.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,6 @@ static inline int remove_cpu(unsigned int cpu) { return -EPERM; }
143143
static inline void smp_shutdown_nonboot_cpus(unsigned int primary_cpu) { }
144144
#endif /* !CONFIG_HOTPLUG_CPU */
145145

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-
152146
#ifdef CONFIG_PM_SLEEP_SMP
153147
extern int freeze_secondary_cpus(int primary);
154148
extern void thaw_secondary_cpus(void);

0 commit comments

Comments
 (0)