138498a67SThomas Gleixner #ifndef SMPBOOT_H 238498a67SThomas Gleixner #define SMPBOOT_H 338498a67SThomas Gleixner 429d5e047SThomas Gleixner struct task_struct; 529d5e047SThomas Gleixner 638498a67SThomas Gleixner int smpboot_prepare(unsigned int cpu); 738498a67SThomas Gleixner 829d5e047SThomas Gleixner #ifdef CONFIG_GENERIC_SMP_IDLE_THREAD 929d5e047SThomas Gleixner struct task_struct *idle_thread_get(unsigned int cpu); 1029d5e047SThomas Gleixner void idle_thread_set_boot_cpu(void); 113bb5d2eeSSuresh Siddha void idle_threads_init(void); 1229d5e047SThomas Gleixner #else 1329d5e047SThomas Gleixner static inline struct task_struct *idle_thread_get(unsigned int cpu) { return NULL; } 1429d5e047SThomas Gleixner static inline void idle_thread_set_boot_cpu(void) { } 1543a18b1eSThomas Gleixner static inline void idle_threads_init(void) { } 1629d5e047SThomas Gleixner #endif 1729d5e047SThomas Gleixner 1838498a67SThomas Gleixner #endif 19