smp.h 406 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Scheduler internal SMP callback types and methods between the scheduler
  4. * and other internal parts of the core kernel:
  5. */
  6. extern void sched_ttwu_pending(void *arg);
  7. extern void send_call_function_single_ipi(int cpu);
  8. #ifdef CONFIG_SMP
  9. extern void flush_smp_call_function_queue(void);
  10. #else
  11. static inline void flush_smp_call_function_queue(void) { }
  12. #endif