[rtems-libbsd commit] SLEEPQUEUE(9): Update due to API changes
Sebastian Huber
sebh at rtems.org
Wed May 20 07:58:40 UTC 2015
Module: rtems-libbsd
Branch: master
Commit: 1ee85a59b7976ab64bbff3488f52c1bdc615c363
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=1ee85a59b7976ab64bbff3488f52c1bdc615c363
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Apr 30 11:00:02 2015 +0200
SLEEPQUEUE(9): Update due to API changes
---
freebsd/sys/kern/subr_sleepqueue.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/freebsd/sys/kern/subr_sleepqueue.c b/freebsd/sys/kern/subr_sleepqueue.c
index 1af1c82..6223b27 100644
--- a/freebsd/sys/kern/subr_sleepqueue.c
+++ b/freebsd/sys/kern/subr_sleepqueue.c
@@ -664,7 +664,7 @@ sleepq_switch(void *wchan, int pri)
_Thread_Lock_release_default(executing, &lock_context);
if (unblock) {
- _Watchdog_Remove(&executing->Timer);
+ _Watchdog_Remove_ticks(&executing->Timer);
_Thread_Clear_state(executing, STATES_WAITING_FOR_BSD_WAKEUP);
}
@@ -968,7 +968,7 @@ sleepq_resume_thread(struct sleepqueue *sq, struct thread *td, int pri)
cpu_self = _Thread_Dispatch_disable_critical();
_Thread_Lock_release_default(thread, &lock_context);
- _Watchdog_Remove(&thread->Timer);
+ _Watchdog_Remove_ticks(&thread->Timer);
_Thread_Clear_state(thread, STATES_WAITING_FOR_BSD_WAKEUP);
_Thread_Dispatch_enable(cpu_self);
More information about the vc
mailing list