SLEEPQUEUE(9): Update due to API changes

Update #3264.
This commit is contained in:
Sebastian Huber 2018-01-15 14:41:58 +01:00
parent 8b3da1329b
commit a0633c51db

View File

@ -463,7 +463,7 @@ sleepq_set_timeout_sbt(void *wchan, sbintime_t sbt, sbintime_t pr,
_ISR_lock_ISR_disable_and_acquire(&executing->Timer.Lock, &lock_context);
header = &cpu_self->Watchdog.Header[PER_CPU_WATCHDOG_MONOTONIC];
header = &cpu_self->Watchdog.Header[PER_CPU_WATCHDOG_TICKS];
executing->Timer.header = header;
executing->Timer.Watchdog.routine = sleepq_timeout;
_Watchdog_Set_CPU(&executing->Timer.Watchdog, cpu_self);