SLEEPQUEUE(9): Update due to API changes

Update #3117.
Update #3182.
This commit is contained in:
Sebastian Huber 2017-10-17 13:56:20 +02:00
parent 79ec6b9e1c
commit 9a583a94d3

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_RELATIVE];
header = &cpu_self->Watchdog.Header[PER_CPU_WATCHDOG_MONOTONIC];
executing->Timer.header = header;
executing->Timer.Watchdog.routine = sleepq_timeout;
_Watchdog_Set_CPU(&executing->Timer.Watchdog, cpu_self);