summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 12:19:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 12:19:28 +0200
commit2fcf5aadd584c08066ddc03b9b4f79eaf17d9d24 (patch)
treeed65cbfe20feb98dbae26d76f90029214cb0e10f
parent445d59e39cbabab0acfef16375b82e1b436851ea (diff)
downloadrtems-libbsd-2fcf5aadd584c08066ddc03b9b4f79eaf17d9d24.tar.bz2
rtems-bsd-mutex: Update due to API changes
Update #3117.
-rw-r--r--rtemsbsd/rtems/rtems-kernel-muteximpl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtemsbsd/rtems/rtems-kernel-muteximpl.c b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
index 5bd32ae3..d2400282 100644
--- a/rtemsbsd/rtems/rtems-kernel-muteximpl.c
+++ b/rtemsbsd/rtems/rtems-kernel-muteximpl.c
@@ -55,8 +55,7 @@ rtems_bsd_mutex_lock_more(struct lock_object *lock, rtems_bsd_mutex *m,
} else {
_Thread_queue_Context_set_thread_state(queue_context,
STATES_WAITING_FOR_MUTEX);
- _Thread_queue_Context_set_no_timeout(queue_context);
- _Thread_queue_Context_set_do_nothing_enqueue_callout(
+ _Thread_queue_Context_set_enqueue_do_nothing_extra(
queue_context);
_Thread_queue_Context_set_deadlock_callout(queue_context,
_Thread_queue_Deadlock_fatal);