accel/amdxdna: use modern PM helpers
[drm/drm-misc.git] / kernel / sched / smp.h
blob21ac44428bb02799e597b68424ef6da57bb6b189
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 */
7 extern void sched_ttwu_pending(void *arg);
9 extern bool call_function_single_prep_ipi(int cpu);
11 #ifdef CONFIG_SMP
12 extern void flush_smp_call_function_queue(void);
13 #else
14 static inline void flush_smp_call_function_queue(void) { }
15 #endif