aboutsummaryrefslogtreecommitdiff
path: root/configfrag.ac
diff options
context:
space:
mode:
authorEtienne Brateau <etienne.brateau@gmail.com>2024-11-19 20:10:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-11-20 00:28:31 +0100
commit506878269a232a7d3722d4598d9fb57a61b5272a (patch)
tree45ae4ead6298d6554f2d1bad94ad5a50ab40e635 /configfrag.ac
parentfe4dc6c23eba321586ebec203165d35f7154c36b (diff)
downloadgnumach-506878269a232a7d3722d4598d9fb57a61b5272a.tar.gz
gnumach-506878269a232a7d3722d4598d9fb57a61b5272a.tar.bz2
gnumach-506878269a232a7d3722d4598d9fb57a61b5272a.zip
configfrag: fix usage of mach_ncpus before his definition
Message-ID: <20241119191048.43597-1-etienne.brateau@gmail.com>
Diffstat (limited to 'configfrag.ac')
-rw-r--r--configfrag.ac11
1 files changed, 0 insertions, 11 deletions
diff --git a/configfrag.ac b/configfrag.ac
index b8b41261..d38519f6 100644
--- a/configfrag.ac
+++ b/configfrag.ac
@@ -43,17 +43,6 @@ AC_DEFINE_UNQUOTED([NLPR], [$nlpr], [NLPR])
# Used in `kern/bootstrap.c'.
AC_DEFINE([BOOTSTRAP_SYMBOLS], [0], [BOOTSTRAP_SYMBOLS])
-# Multiprocessor support is still broken.
-AH_TEMPLATE([MULTIPROCESSOR], [set things up for a uniprocessor])
-AC_ARG_ENABLE([ncpus],
- AS_HELP_STRING([--enable-ncpus=N], [specify the maximum number of cpus to be supported]),
- [mach_ncpus=$enable_ncpus],
- [mach_ncpus=1])
-AC_DEFINE_UNQUOTED([NCPUS], [$mach_ncpus], [number of CPUs])
-[if [ $mach_ncpus -gt 1 ]; then]
- AC_DEFINE([MULTIPROCESSOR], [1], [set things up for a multiprocessor])
-[fi]
-
# Restartable Atomic Sequences to get a really fast test-n-set. Can't be
# enabled, as the `void recover_ras()' function is missing.
AC_DEFINE([FAST_TAS], [0], [FAST_TAS])