Re: [PATCH] powerpc: Define NR_CPUS all the time
From: Michael Ellerman
Date: Sun Jun 06 2021 - 08:12:30 EST
On Fri, 7 May 2021 09:24:43 +0000 (UTC), Christophe Leroy wrote:
> include/linux/threads.h defines a default value for CONFIG_NR_CPUS
> but suggests the architectures should always define it.
>
> So do it, when CONFIG_SMP is not selected set CONFIG_NR_CPUS to 1.
Applied to powerpc/next.
[1/1] powerpc: Define NR_CPUS all the time
https://git.kernel.org/powerpc/c/c176c3d58a3ed623e8917acaafe240245e700e33
cheers