Re: linux-next: build failure after merge of the powerpc tree

From: Michael Ellerman
Date: Sun Feb 12 2023 - 18:22:49 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> writes:
> Hi all,
>
> After merging the powerpc tree, today's linux-next build (powerpc64
> allnoconfig) failed like this:
>
> arch/powerpc/kernel/setup_64.c: In function 'early_setup':
> arch/powerpc/kernel/setup_64.c:400:34: error: 'struct thread_info' has no member named 'cpu'
> 400 | task_thread_info(current)->cpu = boot_cpuid; // fix task_cpu(current)
> | ^~
>
> Caused by commit
>
> 0ecf51ca51e5 ("powerpc/64: Fix task_cpu in early boot when booting non-zero cpuid")
>
> # CONFIG_SMP is not set

Thanks. I squashed in the fix.

cheers