[rtems commit] Clearly mark SMP support as experimental in 4.11

Sebastian Huber sebh at rtems.org
Tue Jan 12 10:29:35 UTC 2016


Module:    rtems
Branch:    4.11
Commit:    1bdf578e52da1b78e651f54d687dddeae8a33cd1
Changeset: http://git.rtems.org/rtems/commit/?id=1bdf578e52da1b78e651f54d687dddeae8a33cd1

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jan 11 08:29:08 2016 +0100

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 590a7b1..52605c7 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 590a7b1..52605c7 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 590a7b1..52605c7 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 e5fdf58..3cac740 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
- at 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}.
 




More information about the vc mailing list