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

Thomas Gleixner
2022-06-02T18:59:03Z

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