aboutsummaryrefslogtreecommitdiff
path: root/kern/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/lock.h')
-rw-r--r--kern/lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/lock.h b/kern/lock.h
index 13f6915c..4fcbe8ab 100644
--- a/kern/lock.h
+++ b/kern/lock.h
@@ -124,6 +124,8 @@ extern void check_simple_locks_disable(void);
struct simple_lock_data_empty { struct {} is_a_simple_lock; };
#define decl_simple_lock_data(class,name) \
class struct simple_lock_data_empty name;
+#define def_simple_lock_data(class,name) \
+class struct simple_lock_data_empty name;
#define simple_lock_addr(lock) (simple_lock_assert(&(lock)), \
(simple_lock_t)0)