summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/_lock.h')
-rw-r--r--freebsd/sys/sys/_lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/sys/sys/_lock.h b/freebsd/sys/sys/_lock.h
index 2ab3d996..e92430c4 100644
--- a/freebsd/sys/sys/_lock.h
+++ b/freebsd/sys/sys/_lock.h
@@ -34,11 +34,11 @@
struct lock_object {
#ifndef __rtems__
const char *lo_name; /* Individual lock name. */
-#endif /* __rtems__ */
u_int lo_flags;
-#ifndef __rtems__
u_int lo_data; /* General class specific data. */
struct witness *lo_witness; /* Data for witness. */
+#else /* __rtems__ */
+ unsigned int lo_flags;
#endif /* __rtems__ */
};