lkml.org 
[lkml]   [2022]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -next] smp: Move stub from main.c into smp.h
Date
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



\
 
 \ /
  Last update: 2022-06-02 21:00    [W:0.040 / U:1.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site