summaryrefslogtreecommitdiff
path: root/freebsd/sys/sys/_rwlock.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/_rwlock.h')
-rw-r--r--freebsd/sys/sys/_rwlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/sys/sys/_rwlock.h b/freebsd/sys/sys/_rwlock.h
index 5e76dac0..029fb98b 100644
--- a/freebsd/sys/sys/_rwlock.h
+++ b/freebsd/sys/sys/_rwlock.h
@@ -29,7 +29,7 @@
#ifndef _SYS__RWLOCK_H_
#define _SYS__RWLOCK_H_
#ifdef __rtems__
-#include <machine/rtems-bsd-rwlock.h>
+#include <machine/rtems-bsd-mutex.h>
#endif /* __rtems__ */
#include <machine/param.h>
@@ -48,7 +48,7 @@ struct rwlock {
#ifndef __rtems__
volatile uintptr_t rw_lock;
#else /* __rtems__ */
- rtems_bsd_rwlock rwlock;
+ rtems_bsd_mutex mutex;
#endif /* __rtems__ */
};