diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-16 02:18:47 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-16 02:19:38 +0200 |
commit | 80ffa7de3147b27c82667a7e2224439f92106f92 (patch) | |
tree | f4af5eae93780a12306c9026cfd381d8d7b33a4b /ipc/ipc_object.h | |
parent | 03955afa0a3cc6e9dece39ec631ce3744b1b08ba (diff) |
codify locking contractspmm-2015-08-16
Diffstat (limited to 'ipc/ipc_object.h')
-rw-r--r-- | ipc/ipc_object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_object.h b/ipc/ipc_object.h index 8504a23..e43c7d2 100644 --- a/ipc/ipc_object.h +++ b/ipc/ipc_object.h @@ -89,6 +89,7 @@ extern struct kmem_cache ipc_object_caches[IOT_NUMBER]; #define io_lock(io) lock_write(&(io)->io_lock_data) #define io_lock_try(io) lock_try_write(&(io)->io_lock_data) #define io_unlock(io) lock_write_done(&(io)->io_lock_data) +#define have_io_lock(io) have_write_lock(&(io)->io_lock_data) #define io_check_unlock(io) \ MACRO_BEGIN \ |