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.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/freebsd/sys/sys/_lock.h b/freebsd/sys/sys/_lock.h
index 457ffd4d..35decd76 100644
--- a/freebsd/sys/sys/_lock.h
+++ b/freebsd/sys/sys/_lock.h
@@ -31,19 +31,11 @@
#ifndef _SYS__LOCK_H_
#define _SYS__LOCK_H_
-#ifdef __rtems__
-#include <rtems.h>
-#include <rtems/chain.h>
-#endif
struct lock_object {
-#ifdef __rtems__
- rtems_chain_node lo_node;
- rtems_id lo_id;
-#endif /* __rtems__ */
const char *lo_name; /* Individual lock name. */
u_int lo_flags;
- u_int lo_data; /* General class specific data. */
#ifndef __rtems__
+ u_int lo_data; /* General class specific data. */
struct witness *lo_witness; /* Data for witness. */
#endif /* __rtems__ */
};