summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-mutex.h')
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-mutex.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-mutex.h b/rtemsbsd/include/machine/rtems-bsd-mutex.h
index d1879ce9..8c1638bb 100644
--- a/rtemsbsd/include/machine/rtems-bsd-mutex.h
+++ b/rtemsbsd/include/machine/rtems-bsd-mutex.h
@@ -40,19 +40,17 @@
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_MUTEX_H_
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_MUTEX_H_
-#include <rtems/score/isrlock.h>
-#include <rtems/score/rbtree.h>
#include <rtems/score/thread.h>
+#include <rtems/score/threadq.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct {
- ISR_LOCK_MEMBER(lock)
+ Thread_queue_Control queue;
Thread_Control *owner;
int nest_level;
- RBTree_Control rivals;
} rtems_bsd_mutex;
#ifdef __cplusplus