From 8f5b2746119d25d00c3399b97e43d4d7b5f27dff Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 29 Jan 2008 21:53:16 +0000 Subject: 2008-01-29 Joel Sherrill * 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. --- testsuites/samples/ticker/system.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'testsuites/samples/ticker') 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 */ -- cgit v1.2.3