diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-04-05 18:01:52 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-04-05 18:01:52 +0200 |
commit | e2332eceff15dc37193a4f82fbac6a913af540ca (patch) | |
tree | ba500de801293856678867223feba3dba629fddd /i386 | |
parent | 13751a0fc146976ac722e8424f9c35c59d678f4f (diff) | |
download | gnumach-e2332eceff15dc37193a4f82fbac6a913af540ca.tar.gz gnumach-e2332eceff15dc37193a4f82fbac6a913af540ca.tar.bz2 gnumach-e2332eceff15dc37193a4f82fbac6a913af540ca.zip |
SMP: force APIC
We need it to properly driver interrupts etc. of APs
Diffstat (limited to 'i386')
-rw-r--r-- | i386/configfrag.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/i386/configfrag.ac b/i386/configfrag.ac index f07a98ca..6b4eb270 100644 --- a/i386/configfrag.ac +++ b/i386/configfrag.ac @@ -94,6 +94,12 @@ if [ x"$enable_lpr" = xyes ]; then] AC_ARG_ENABLE([apic], AS_HELP_STRING([--enable-apic], [LAPIC/IOAPIC support])) + +[if [ $mach_ncpus -gt 1 ]; then] + # For SMP we need apic + enable_apic=yes +[fi] + [if [ x"$enable_apic" = xyes ]; then] AC_DEFINE([APIC], [1], [APIC support]) AM_CONDITIONAL([enable_apic], [true]) |