[rtems-libbsd commit] SLEEPQUEUE(9): Update due to API changes

Sebastian Huber sebh at rtems.org
Mon Feb 5 10:39:47 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    a0633c51dbd1aa2ba13e9bdd8c8737edb61b953d
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=a0633c51dbd1aa2ba13e9bdd8c8737edb61b953d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jan 15 14:41:58 2018 +0100

SLEEPQUEUE(9): Update due to API changes

Update #3264.

---

 freebsd/sys/kern/subr_sleepqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/freebsd/sys/kern/subr_sleepqueue.c b/freebsd/sys/kern/subr_sleepqueue.c
index aeaf834..a8ffa7e 100644
--- a/freebsd/sys/kern/subr_sleepqueue.c
+++ b/freebsd/sys/kern/subr_sleepqueue.c
@@ -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);




More information about the vc mailing list