|
@@ -2652,12 +2652,14 @@ static inline void account_numa_dequeue(struct rq *rq, struct task_struct *p)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_SMP
|
|
static inline bool numa_wake_affine(struct sched_domain *sd,
|
|
static inline bool numa_wake_affine(struct sched_domain *sd,
|
|
struct task_struct *p, int this_cpu,
|
|
struct task_struct *p, int this_cpu,
|
|
int prev_cpu, int sync)
|
|
int prev_cpu, int sync)
|
|
{
|
|
{
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
+#endif /* !SMP */
|
|
#endif /* CONFIG_NUMA_BALANCING */
|
|
#endif /* CONFIG_NUMA_BALANCING */
|
|
|
|
|
|
static void
|
|
static void
|