diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 59198888b5..a60b7147c9 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,8 @@ +2009-08-10 Joel Sherrill + + * psxsignal01/init.c: Convert calls to legacy routine rtems_clock_get( + RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx(). + 2009-08-10 Joel Sherrill * psxstat/test.c, psxtime/test.c: Convert calls to legacy routine diff --git a/testsuites/psxtests/psxsignal01/init.c b/testsuites/psxtests/psxsignal01/init.c index c7e10303f0..30416bdb4a 100644 --- a/testsuites/psxtests/psxsignal01/init.c +++ b/testsuites/psxtests/psxsignal01/init.c @@ -198,7 +198,7 @@ void *POSIX_Init( /* now schedule another one to fire but do not sleep */ puts( "Init: send SIGUSR1 to process from a TSR (spin)" ); - rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &start ); + start = rtems_clock_get_ticks_since_boot(); Signal_count = 0; Signal_occurred = 0; status = rtems_timer_fire_after( @@ -208,7 +208,7 @@ void *POSIX_Init( NULL ); do { - rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT, &end ); + end = rtems_clock_get_ticks_since_boot(); } while ( !Signal_occurred && ((end - start) <= 800)); if ( !Signal_occurred ) {