diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-20 21:52:24 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-20 21:52:24 +0000 |
commit | b5c6ecf7078d9aba8f6c54a1bbc501edf8291401 (patch) | |
tree | 6f85f83414f334829a7f215889f730ecb4b126ce /testsuites/sptests/sp07 | |
parent | 2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-b5c6ecf7078d9aba8f6c54a1bbc501edf8291401.tar.bz2 |
2007-12-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp07/task1.c, sp34/changepri.c, sp35/priinv.c: Add rtems_task_self()
directive instead of violating RTEMS internals.
Diffstat (limited to 'testsuites/sptests/sp07')
-rw-r--r-- | testsuites/sptests/sp07/task1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuites/sptests/sp07/task1.c b/testsuites/sptests/sp07/task1.c index 651e63b4e0..3777d57db0 100644 --- a/testsuites/sptests/sp07/task1.c +++ b/testsuites/sptests/sp07/task1.c @@ -29,8 +29,7 @@ rtems_task Task_1( rtems_task_priority previous_priority; rtems_id my_id; - /* XXX really need a Classic API service for this */ - my_id = _Thread_Executing->Object.id; + my_id = rtems_task_self(); rtems_test_pause(); |