diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-18 15:01:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-04-18 15:01:36 +0000 |
commit | 6be8a839ce5a759b3f94a15f02841d9f6138a633 (patch) | |
tree | 531a6812491021bd35c047d9980de83abe71b09e /cpukit/rtems | |
parent | 2008-04-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-6be8a839ce5a759b3f94a15f02841d9f6138a633.tar.bz2 |
2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/key.c: Include <limits.h>
* posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
a NULL extension block.
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/src/tasks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c index cfa849c1ae..afde09a704 100644 --- a/cpukit/rtems/src/tasks.c +++ b/cpukit/rtems/src/tasks.c @@ -174,6 +174,8 @@ void _RTEMS_tasks_Post_switch_extension( Modes_Control prev_mode; api = executing->API_Extensions[ THREAD_API_RTEMS ]; + if ( !api ) + return; /* * Signal Processing |