diff options
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 \ |