diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-10 16:34:49 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-02-10 16:34:49 +0100 |
commit | 6e6aa171ff6c8a48507c32ce1fcadbd51ba96587 (patch) | |
tree | 70381cbfc1ef2a9729b8eb19ca9abdd3d24b78e3 /i386/i386at | |
parent | 10e70143fd451dc9855a562482ce9195f1d0d0bb (diff) | |
download | gnumach-6e6aa171ff6c8a48507c32ce1fcadbd51ba96587.tar.gz gnumach-6e6aa171ff6c8a48507c32ce1fcadbd51ba96587.tar.bz2 gnumach-6e6aa171ff6c8a48507c32ce1fcadbd51ba96587.zip |
Fix build with APIC without SMP
Diffstat (limited to 'i386/i386at')
-rw-r--r-- | i386/i386at/model_dep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index a8f9b866..edb5b48b 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -215,7 +215,7 @@ void machine_init(void) pmap_unmap_page_zero(); #endif -#ifdef APIC +#if NCPUS > 1 /* * Patch the realmode gdt with the correct offset and the first jmp to * protected mode with the correct target. |