aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-04-05 17:51:06 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-04-05 17:51:06 +0200
commit13751a0fc146976ac722e8424f9c35c59d678f4f (patch)
tree9505444c8fc3e35e808a44c3cee2fb3c755b6007 /linux
parent1a4ce71588630224412891fae16c59cde94190bf (diff)
downloadgnumach-13751a0fc146976ac722e8424f9c35c59d678f4f.tar.gz
gnumach-13751a0fc146976ac722e8424f9c35c59d678f4f.tar.bz2
gnumach-13751a0fc146976ac722e8424f9c35c59d678f4f.zip
linux: Do not enable in SMP, it is not MP-safe
Diffstat (limited to 'linux')
-rw-r--r--linux/configfrag.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/configfrag.ac b/linux/configfrag.ac
index c851e563..a4f9c5a9 100644
--- a/linux/configfrag.ac
+++ b/linux/configfrag.ac
@@ -55,6 +55,11 @@ dnl USE OF THIS SOFTWARE.
AC_ARG_ENABLE([linux-groups],
AS_HELP_STRING([--disable-linux-groups], [Linux drivers]))
+[if [ $mach_ncpus -gt 1 ]; then]
+ # Do not enable in SMP, it is not MP-safe
+ enable_linux_groups=no
+[fi]
+
AC_DEFUN([AC_OPTION_Linux_group], [
AC_ARG_ENABLE([$1-group],
AS_HELP_STRING([--enable-$1-group], [$2]),