summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems/config.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-09 17:59:40 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-09 17:59:40 +0000
commitf16ea9086875efdaf56eb64596d6c28c6c236dac (patch)
treec10d5d9ed5e21ce8ac20aab1aa88b7b3355a66d8 /cpukit/sapi/include/rtems/config.h
parent2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-f16ea9086875efdaf56eb64596d6c28c6c236dac.tar.bz2
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/src/error.c, sapi/include/rtems/config.h: Do not reference _Configuration_MP_table if multiprocessing is disabled.
Diffstat (limited to 'cpukit/sapi/include/rtems/config.h')
-rw-r--r--cpukit/sapi/include/rtems/config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h
index cb7af0dc8c..598f293ff9 100644
--- a/cpukit/sapi/include/rtems/config.h
+++ b/cpukit/sapi/include/rtems/config.h
@@ -124,7 +124,9 @@ typedef struct {
*/
SAPI_EXTERN rtems_configuration_table *_Configuration_Table;
-SAPI_EXTERN rtems_multiprocessing_table *_Configuration_MP_table;
+#if defined(RTEMS_MULTIPROCESSING)
+ SAPI_EXTERN rtems_multiprocessing_table *_Configuration_MP_table;
+#endif
/*
* Some handy macros to avoid dependencies on either the BSP