Back to home page

LXR

 
 

    


0001 #ifndef SMPBOOT_H
0002 #define SMPBOOT_H
0003 
0004 struct task_struct;
0005 
0006 #ifdef CONFIG_GENERIC_SMP_IDLE_THREAD
0007 struct task_struct *idle_thread_get(unsigned int cpu);
0008 void idle_thread_set_boot_cpu(void);
0009 void idle_threads_init(void);
0010 #else
0011 static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; }
0012 static inline void idle_thread_set_boot_cpu(void) { }
0013 static inline void idle_threads_init(void) { }
0014 #endif
0015 
0016 int smpboot_create_threads(unsigned int cpu);
0017 int smpboot_park_threads(unsigned int cpu);
0018 int smpboot_unpark_threads(unsigned int cpu);
0019 
0020 void __init cpuhp_threads_init(void);
0021 
0022 #endif