diff options
Diffstat (limited to 'cpukit/rtems/src/taskvariableget.c')
-rw-r--r-- | cpukit/rtems/src/taskvariableget.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/rtems/src/taskvariableget.c b/cpukit/rtems/src/taskvariableget.c index 338e108389..c1524a463e 100644 --- a/cpukit/rtems/src/taskvariableget.c +++ b/cpukit/rtems/src/taskvariableget.c @@ -19,6 +19,7 @@ #endif #include <rtems/system.h> +#include <rtems/config.h> #include <rtems/rtems/tasks.h> #include <rtems/score/wkspace.h> @@ -38,6 +39,12 @@ rtems_status_code rtems_task_variable_get( Objects_Locations location; rtems_task_variable_t *tvp; +#if defined( RTEMS_SMP ) + if ( rtems_configuration_is_smp_enabled() ) { + return RTEMS_NOT_IMPLEMENTED; + } +#endif + if ( !ptr ) return RTEMS_INVALID_ADDRESS; |