Re: Kernel failing to build on 32-bit powerpc

Christophe Leroy <[email protected]>
Newsgroups gmane.linux.ports.ppc.embedded,gmane.linux.debian.ports.powerpc,gmane.linux.kernel.stable
Message-ID <[email protected]>
Hi,

Le 16/10/2025 à 21:03, John Paul Adrian Glaubitz a écrit :
> Hi,
> 
> could someone investigate the following build failure on powerpc [1], please?
> 
> In file included from /build/reproducible-path/linux-6.16.12/kernel/sched/build_policy.c:64:
> /build/reproducible-path/linux-6.16.12/kernel/sched/ext_idle.c: In function ‘is_bpf_migration_disabled’:
> /build/reproducible-path/linux-6.16.12/kernel/sched/ext_idle.c:893:14: error: ‘const struct task_struct’ has no member named ‘migration_disabled’
>    893 |         if (p->migration_disabled == 1)
>        |              ^~
> /build/reproducible-path/linux-6.16.12/kernel/sched/ext_idle.c:896:25: error: ‘const struct task_struct’ has no member named ‘migration_disabled’
>    896 |                 return p->migration_disabled;
>        |                         ^~
> 

I guess 6.16.12 is missing commit cac5cefbade9 ("sched/smp: Make SMP 
unconditional")

Christophe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.