]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Rename exp_lock to exp_mutex
authorKaike Wan <kaike.wan@intel.com>
Mon, 4 Jun 2018 18:43:54 +0000 (11:43 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 4 Jun 2018 21:25:27 +0000 (15:25 -0600)
commit3e2c665ff2fc555d80bdfa04b83ab965010c0662
tree8896a00aef40343f9fb0a7f81eadeb3759175f48
parent2167ad43f252838c8abe6005f3f304dbcf2d8161
IB/hfi1: Rename exp_lock to exp_mutex

The mutex exp_lock in struct hfi1_ctxtdata is used to protect all
Expected TID data of a user context. This patch renames it to exp_mutex
to better reflect its identity and prepare for upcoming patches.

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/hfi.h
drivers/infiniband/hw/hfi1/init.c
drivers/infiniband/hw/hfi1/user_exp_rcv.c