On 27/08/20 20:08, kernel test robot wrote: > All errors (new ones prefixed by >>): > >>> kernel/sched/fair.c:11314:18: error: no member named 'cpu_capacity' in >>> 'struct rq' > return rq ? rq->cpu_capacity : -1; > ~~ ^ > 1 error generated. >
The joys of !SMP; you'll want to wrap this in an #ifdef CONFIG_SMP like some of the other TP's. The !SMP case can probably return SCHED_CAPACITY_SCALE for the sake of pedantism, AFAICT that TP can't fire on !SMP (that, or only define it for SMP).

