[PATCH] Clearly mark SMP support as experimental in 4.11

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jan 11 07:30:00 UTC 2016


---
 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}.
 
-- 
1.8.4.5



More information about the devel mailing list