1 /* SPDX-License-Identifier: GPL-2.0 */
7 #ifdef CONFIG_GENERIC_SMP_IDLE_THREAD
8 struct task_struct *idle_thread_get(unsigned int cpu);
9 void idle_thread_set_boot_cpu(void);
10 void idle_threads_init(void);
12 static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; }
13 static inline void idle_thread_set_boot_cpu(void) { }
14 static inline void idle_threads_init(void) { }
17 int smpboot_create_threads(unsigned int cpu);
18 int smpboot_park_threads(unsigned int cpu);
19 int smpboot_unpark_threads(unsigned int cpu);
21 void __init cpuhp_threads_init(void);