diff options
-rw-r--r-- | i386/configfrag.ac | 5 | ||||
-rw-r--r-- | linux/configfrag.ac | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/i386/configfrag.ac b/i386/configfrag.ac index 6cd1fdf7..1a6f5758 100644 --- a/i386/configfrag.ac +++ b/i386/configfrag.ac @@ -100,6 +100,11 @@ AC_ARG_ENABLE([apic], enable_apic=yes [fi] +[if [ $mach_ncpus -gt 1 ]; then] + # Do not enable in SMP, it is not MP-safe + enable_linux_groups=no +[fi] + [if [ x"$enable_linux_groups" != xno ]; then] # Linux glue does not like APIC enable_apic=no diff --git a/linux/configfrag.ac b/linux/configfrag.ac index a4f9c5a9..c851e563 100644 --- a/linux/configfrag.ac +++ b/linux/configfrag.ac @@ -55,11 +55,6 @@ 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]), |