diff options
author | willy@infradead.org <willy@infradead.org> | 2018-06-13 11:45:55 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-18 11:22:54 -0600 |
commit | 3c60e868c31e4ff144776bf53ff0dfe9e9e4ec15 (patch) | |
tree | 3d6b7ce8e6569c34ed3cbee7a34fb5e799250283 /drivers/infiniband/core/mad_priv.h | |
parent | 89af969a665390dc6b156fef55755ca546cd8d92 (diff) |
IDR: Expose the XArray lock
Allow users of the IDR to use the XArray lock for their own
synchronisation purposes. The IDR continues to rely on the caller to
handle locking, but this lets the caller use the lock embedded in the
IDR data structure instead of allocating their own lock.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/mad_priv.h')
0 files changed, 0 insertions, 0 deletions