Re: [PATCH -next] smp: Move stub from main.c into smp.h

From: Thomas Gleixner
Date: Thu Jun 02 2022 - 14:59:03 EST


On Sat, May 28 2022 at 11:11, Yue Zou wrote:
> #else /* !SMP */
>
> +static const unsigned int setup_max_cpus = NR_CPUS;

This will cause a 'defined but not used warning' for all files which
include smp.h, except for init/main.c

Thanks,

tglx