system/easy-kernel: FTBFS on ppc after update to 5.15.28
...
kernel/sched/alt_core.c: In function ‘sched_init_topology_cpumask’:
kernel/sched/alt_core.c:7082:43: error: implicit declaration of function ‘cpu_coregroup_mask’; did you mean ‘cpu_core_mask’? [-Werror=implicit-function-declaration]
per_cpu(sd_llc_id, cpu) = cpumask_first(cpu_coregroup_mask(cpu));
^~~~~~~~~~~~~~~~~~
cpu_core_mask
kernel/sched/alt_core.c:7082:43: warning: passing argument 1 of ‘cpumask_first’ makes pointer from integer without a cast [-Wint-conversion]
per_cpu(sd_llc_id, cpu) = cpumask_first(cpu_coregroup_mask(cpu));
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/smp.h:13,
from ./include/linux/lockdep.h:14,
from ./include/linux/rcupdate.h:29,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/kthread.h:6,
from ./include/trace/events/sched.h:8,
from kernel/sched/alt_core.c:15:
./include/linux/cpumask.h:193:64: note: expected ‘const struct cpumask *’ but argument is of type ‘int’
static inline unsigned int cpumask_first(const struct cpumask *srcp)
~~~~~~~~~~~~~~~~~~~~~~^~~~
kernel/sched/alt_core.c:7084:31: warning: passing argument 3 of ‘cpumask_and’ makes pointer from integer without a cast [-Wint-conversion]
TOPOLOGY_CPUMASK(coregroup, cpu_coregroup_mask(cpu), false);
^~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c:7059:30: note: in definition of macro ‘TOPOLOGY_CPUMASK’
if (cpumask_and(topo, topo, mask)) { \
^~~~
In file included from ./include/linux/smp.h:13,
from ./include/linux/lockdep.h:14,
from ./include/linux/rcupdate.h:29,
from ./include/linux/rculist.h:11,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from ./include/linux/kthread.h:6,
from ./include/trace/events/sched.h:8,
from kernel/sched/alt_core.c:15:
./include/linux/cpumask.h:403:33: note: expected ‘const struct cpumask *’ but argument is of type ‘int’
const struct cpumask *src2p)
~~~~~~~~~~~~~~~~~~~~~~^~~~~
kernel/sched/alt_core.c:7084:31: warning: passing argument 2 of ‘cpumask_copy’ makes pointer from integer without a cast [-Wint-conversion]
TOPOLOGY_CPUMASK(coregroup, cpu_coregroup_mask(cpu), false);
^~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c:7060:22: note: in definition of macro ‘TOPOLOGY_CPUMASK’
...
Not sure yet if this is a .config
issue or a problem with our patchset.