From 1bdf578e52da1b78e651f54d687dddeae8a33cd1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 11 Jan 2016 08:29:08 +0100 Subject: Clearly mark SMP support as experimental in 4.11 --- aclocal/enable-smp.m4 | 10 +++++++--- c/src/aclocal/enable-smp.m4 | 10 +++++++--- cpukit/aclocal/enable-smp.m4 | 10 +++++++--- doc/user/smp.t | 10 +++++----- 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/aclocal/enable-smp.m4 b/aclocal/enable-smp.m4 index 590a7b15ff..52605c7b11 100644 --- a/aclocal/enable-smp.m4 +++ b/aclocal/enable-smp.m4 @@ -2,8 +2,8 @@ AC_DEFUN([RTEMS_ENABLE_SMP], [ ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl -AC_ARG_ENABLE(smp, -[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing +AC_ARG_ENABLE(experimental-smp, +[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing (SMP)])], [case "${enableval}" in yes) case "${RTEMS_CPU}" in @@ -13,5 +13,9 @@ AC_ARG_ENABLE(smp, ;; no) RTEMS_HAS_SMP=no ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;; -esac],[RTEMS_HAS_SMP=no]) +esac],[RTEMS_HAS_SMP=no]) +AC_ARG_ENABLE(smp, +[], +[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])], +[]) ]) diff --git a/c/src/aclocal/enable-smp.m4 b/c/src/aclocal/enable-smp.m4 index 590a7b15ff..52605c7b11 100644 --- a/c/src/aclocal/enable-smp.m4 +++ b/c/src/aclocal/enable-smp.m4 @@ -2,8 +2,8 @@ AC_DEFUN([RTEMS_ENABLE_SMP], [ ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl -AC_ARG_ENABLE(smp, -[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing +AC_ARG_ENABLE(experimental-smp, +[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing (SMP)])], [case "${enableval}" in yes) case "${RTEMS_CPU}" in @@ -13,5 +13,9 @@ AC_ARG_ENABLE(smp, ;; no) RTEMS_HAS_SMP=no ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;; -esac],[RTEMS_HAS_SMP=no]) +esac],[RTEMS_HAS_SMP=no]) +AC_ARG_ENABLE(smp, +[], +[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])], +[]) ]) diff --git a/cpukit/aclocal/enable-smp.m4 b/cpukit/aclocal/enable-smp.m4 index 590a7b15ff..52605c7b11 100644 --- a/cpukit/aclocal/enable-smp.m4 +++ b/cpukit/aclocal/enable-smp.m4 @@ -2,8 +2,8 @@ AC_DEFUN([RTEMS_ENABLE_SMP], [ ## AC_BEFORE([$0], [RTEMS_CHECK_SMP])dnl -AC_ARG_ENABLE(smp, -[AS_HELP_STRING([--enable-smp],[enable support for symmetric multiprocessing +AC_ARG_ENABLE(experimental-smp, +[AS_HELP_STRING([--enable-experimental-smp],[enable experimental support for symmetric multiprocessing (SMP)])], [case "${enableval}" in yes) case "${RTEMS_CPU}" in @@ -13,5 +13,9 @@ AC_ARG_ENABLE(smp, ;; no) RTEMS_HAS_SMP=no ;; *) AC_MSG_ERROR(bad value ${enableval} for enable-smp option) ;; -esac],[RTEMS_HAS_SMP=no]) +esac],[RTEMS_HAS_SMP=no]) +AC_ARG_ENABLE(smp, +[], +[AC_MSG_ERROR([SMP support is experimental in RTEMS 4.11, use --enable-experimental-smp])], +[]) ]) diff --git a/doc/user/smp.t b/doc/user/smp.t index e5fdf584e2..3cac740b94 100644 --- a/doc/user/smp.t +++ b/doc/user/smp.t @@ -17,11 +17,11 @@ available on @item SPARC. @end itemize -It must be explicitly enabled via the @code{--enable-smp} configure command -line option. To enable SMP in the application configuration see -@ref{Configuring a System Enable SMP Support for Applications}. The default -scheduler for SMP applications supports up to 32 processors and is a global -fixed priority scheduler, see also @ref{Configuring a System Configuring +It must be explicitly enabled via the @code{--enable-experimental-smp} +configure command line option. To enable SMP in the application configuration +see @ref{Configuring a System Enable SMP Support for Applications}. The +default scheduler for SMP applications supports up to 32 processors and is a +global fixed priority scheduler, see also @ref{Configuring a System Configuring Clustered/Partitioned Schedulers}. For example applications see @file{testsuites/smptests}. -- cgit v1.2.3