diff options
Diffstat (limited to 'freebsd/sys/sys/_rwlock.h')
-rw-r--r-- | freebsd/sys/sys/_rwlock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/sys/sys/_rwlock.h b/freebsd/sys/sys/_rwlock.h index 029fb98b..5e76dac0 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-mutex.h> +#include <machine/rtems-bsd-rwlock.h> #endif /* __rtems__ */ #include <machine/param.h> @@ -48,7 +48,7 @@ struct rwlock { #ifndef __rtems__ volatile uintptr_t rw_lock; #else /* __rtems__ */ - rtems_bsd_mutex mutex; + rtems_bsd_rwlock rwlock; #endif /* __rtems__ */ }; |