From cdf30f0550432648ac005e3f71814b7f708a4ce3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 19 Jun 2015 14:57:44 +0200 Subject: rtems: Add rtems_interrupt_local_disable|enable() Add rtems_interrupt_local_disable|enable() as suggested by Pavel Pisa to emphasize that interrupts are only disabled on the current processor. Do not define the rtems_interrupt_disable|enable|flash() macros and functions on SMP configurations since they don't ensure system wide mutual exclusion. --- testsuites/samples/configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuites/samples/configure.ac') diff --git a/testsuites/samples/configure.ac b/testsuites/samples/configure.ac index e6f12d032f..91a36612df 100644 --- a/testsuites/samples/configure.ac +++ b/testsuites/samples/configure.ac @@ -26,6 +26,7 @@ RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING]) RTEMS_CHECK_CXX(RTEMS_BSP) RTEMS_CHECK_CPUOPTS([RTEMS_NETWORKING]) +RTEMS_CHECK_CPUOPTS([RTEMS_SMP]) CXXTESTS=$HAS_CPLUSPLUS AS_IF([test $HAS_CPLUSPLUS = yes],[ @@ -52,6 +53,7 @@ AS_IF([test $HAS_CPLUSPLUS = yes],[ AM_CONDITIONAL([CXXTESTS],[test $CXXTESTS = "yes"]) AM_CONDITIONAL(NETTESTS,test "$rtems_cv_RTEMS_NETWORKING" = "yes") AM_CONDITIONAL(MPTESTS,test "$rtems_cv_RTEMS_MULTIPROCESSING" = "yes") +AM_CONDITIONAL(HAS_SMP,test "$rtems_cv_RTEMS_SMP" = "yes") # FIXME: We should get rid of this. It's a cludge. AC_CHECK_SIZEOF([time_t]) -- cgit v1.2.3