root/kernel/smpboot.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. idle_thread_get
  2. idle_thread_set_boot_cpu
  3. idle_threads_init

   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef SMPBOOT_H
   3 #define SMPBOOT_H
   4 
   5 struct task_struct;
   6 
   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);
  11 #else
  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) { }
  15 #endif
  16 
  17 int smpboot_create_threads(unsigned int cpu);
  18 int smpboot_park_threads(unsigned int cpu);
  19 int smpboot_unpark_threads(unsigned int cpu);
  20 
  21 void __init cpuhp_threads_init(void);
  22 
  23 #endif

/* [<][>][^][v][top][bottom][index][help] */