Damien Zammit, le sam. 04 févr. 2023 03:30:45 +0000, a ecrit:
> This depends on serialised AP init patch.
> 
> Fixes warnings spewing at boot with APIC and SMP
> ---
>  i386/i386/cpu_number.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/i386/i386/cpu_number.c b/i386/i386/cpu_number.c
> index ad4c4b01..eca95d7a 100644
> --- a/i386/i386/cpu_number.c
> +++ b/i386/i386/cpu_number.c
> @@ -21,10 +21,16 @@
>  #include <i386/cpu.h>
>  #include <kern/printf.h>
> 
> +extern int bspdone;

Please avoid introducing more such in-C extern declarations. We want
them in headers.

Samuel

Reply via email to