[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ilpievtb.ffs@tglx>
Date: Thu, 02 Jun 2022 20:58:56 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Yue Zou <zouyue3@...wei.com>, sfr@...b.auug.org.au,
akpm@...ux-foundation.org, mhiramat@...nel.org,
rostedt@...dmis.org, ahalaney@...hat.com, vbabka@...e.cz,
Jason@...c4.com, mark-pk.tsai@...iatek.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] smp: Move stub from main.c into smp.h
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
Powered by blists - more mailing lists