Re: [PATCH gnumach] i386/apic.c: Pre-initialize the lapic pointer with a dummy structure

2023-06-20 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le mar. 20 juin 2023 10:29:38 +, a ecrit: > Fixes an early crash when APIC is defined, NCPUS > 1 and LINUX_DEV is not > defined. > > CPU_NUMBER can now be called before the local apic pointer is properly > initialized. > --- > i386/i386/apic.c | 8 +++- >

[PATCH gnumach] i386/apic.c: Pre-initialize the lapic pointer with a dummy structure

2023-06-20 Thread Damien Zammit
Fixes an early crash when APIC is defined, NCPUS > 1 and LINUX_DEV is not defined. CPU_NUMBER can now be called before the local apic pointer is properly initialized. --- i386/i386/apic.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/i386/i386/apic.c