diff mbox

sim: mips: drop SIM_AC_OPTION_SMP call [committed]

Message ID 1452415517-6673-1-git-send-email-vapier@gentoo.org
State Committed
Headers show

Commit Message

Mike Frysinger Jan. 10, 2016, 8:45 a.m. UTC
No other port calls this macro directly, and mips has it hardcoded
to the default -- disabling smp.  In the future we'll enable this
for all targets in common code, so tidy up the mips code now.
---
 sim/mips/ChangeLog    |  5 +++++
 sim/mips/configure    | 35 ++---------------------------------
 sim/mips/configure.ac | 10 ----------
 3 files changed, 7 insertions(+), 43 deletions(-)
diff mbox

Patch

diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 21e832c..9d88694 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,10 @@ 
 2016-01-10  Mike Frysinger  <vapier@gentoo.org>
 
+	* configure.ac (SIM_AC_OPTION_SMP): Delete call.
+	* configure: Regenerate.
+
+2016-01-10  Mike Frysinger  <vapier@gentoo.org>
+
 	* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
 	* configure: Regenerate.
 
diff --git a/sim/mips/configure b/sim/mips/configure
index acd36b2..9182055 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -776,7 +776,6 @@  enable_sim_reserved_bits
 enable_sim_endian
 enable_sim_bitsize
 enable_sim_float
-enable_sim_smp
 enable_sim_hardware
 with_x
 '
@@ -1445,8 +1444,6 @@  Optional Features:
   --enable-sim-bitsize=N  Specify target bitsize (32 or 64)
   --enable-sim-float      Specify that the target processor has floating point
                           hardware
-  --enable-sim-smp=n      Specify number of processors to configure for
-                          (default ${default_sim_smp})
   --enable-sim-hardware=LIST
                           Specify the hardware to be included in the build.
 
@@ -12878,7 +12875,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12881 "configure"
+#line 12878 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12984,7 +12981,7 @@  else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12987 "configure"
+#line 12984 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13842,34 +13839,6 @@  fi
 
 
 #
-# Select the level of SMP support
-#
-case "${target}" in
-  *)                    mips_smp=0 ;;
-esac
-
-default_sim_smp="$mips_smp"
-# Check whether --enable-sim-smp was given.
-if test "${enable_sim_smp+set}" = set; then :
-  enableval=$enable_sim_smp; case "${enableval}" in
-  yes)	sim_smp="-DWITH_SMP=5" ; sim_igen_smp="-N 5";;
-  no)	sim_smp="-DWITH_SMP=0" ; sim_igen_smp="-N 0";;
-  *)	sim_smp="-DWITH_SMP=$enableval" ; sim_igen_smp="-N $enableval";;
-esac
-if test x"$silent" != x"yes" && test x"$sim_smp" != x""; then
-  echo "Setting smp flags = $sim_smp" 6>&1
-fi
-else
-  sim_smp="-DWITH_SMP=${default_sim_smp}" ; sim_igen_smp="-N ${default_sim_smp}"
-if test x"$silent" != x"yes"; then
-  echo "Setting smp flags = $sim_smp" 6>&1
-fi
-fi
-
-
-
-
-#
 # Select the IGEN architecture
 #
 sim_gen=IGEN
diff --git a/sim/mips/configure.ac b/sim/mips/configure.ac
index c21faaf..476fc35 100644
--- a/sim/mips/configure.ac
+++ b/sim/mips/configure.ac
@@ -87,16 +87,6 @@  SIM_AC_OPTION_FLOAT($mips_fpu,$mips_fpu_bitsize)
 
 
 #
-# Select the level of SMP support
-#
-case "${target}" in
-  *)                    mips_smp=0 ;;
-esac
-SIM_AC_OPTION_SMP($mips_smp)
-
-
-
-#
 # Select the IGEN architecture
 #
 sim_gen=IGEN