summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/ticker
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-29 21:53:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-01-29 21:53:16 +0000
commit8f5b2746119d25d00c3399b97e43d4d7b5f27dff (patch)
tree062e5c8148f6dbdb8274b9619b232b3ce127690a /testsuites/samples/ticker
parent2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-8f5b2746119d25d00c3399b97e43d4d7b5f27dff.tar.bz2
2008-01-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* fileio/system.h, ticker/system.h: Add new Object Services collection. This changed the name of a few previously public but undocumented services and added a some new services.
Diffstat (limited to 'testsuites/samples/ticker')
-rw-r--r--testsuites/samples/ticker/system.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/samples/ticker/system.h b/testsuites/samples/ticker/system.h
index 217ac4de83..4f72faa49d 100644
--- a/testsuites/samples/ticker/system.h
+++ b/testsuites/samples/ticker/system.h
@@ -3,7 +3,7 @@
* This include file contains information that is included in every
* function in the test set.
*
- * COPYRIGHT (c) 1989-1999.
+ * COPYRIGHT (c) 1989-2008.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -110,7 +110,8 @@ static inline uint32_t get_ticks_per_second( void )
*/
#define task_number( tid ) \
- ( rtems_get_index( tid ) - \
- rtems_configuration_get_rtems_api_configuration()->number_of_initialization_tasks )
+ ( rtems_object_id_get_index( tid ) - \
+ rtems_configuration_get_rtems_api_configuration()-> \
+ number_of_initialization_tasks )
/* end of include file */