diff options
Diffstat (limited to 'cpukit/posix/src/timercreate.c')
-rw-r--r-- | cpukit/posix/src/timercreate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/src/timercreate.c b/cpukit/posix/src/timercreate.c index 697f1ceee1..5123071d99 100644 --- a/cpukit/posix/src/timercreate.c +++ b/cpukit/posix/src/timercreate.c @@ -91,7 +91,8 @@ int timer_create( ptimer->timer_data.it_interval.tv_sec = 0; ptimer->timer_data.it_interval.tv_nsec = 0; - _Watchdog_Preinitialize( &ptimer->Timer ); + _Watchdog_Preinitialize( &ptimer->Timer, _Per_CPU_Get_snapshot() ); + _Watchdog_Initialize( &ptimer->Timer, _POSIX_Timer_TSR ); _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0); *timerid = ptimer->Object.id; |