[PATCH v4 07/10] IB/mthca: Replace counting semaphore event_sem with wait_event
Counting semaphores are going away in the future, so replace the semaphore mthca_cmd::event_sem with a conditional wait_event. Signed-off-by: Binoy Jayan--- drivers/infiniband/hw/mthca/mthca_cmd.c | 47 ++---
[PATCH v4 07/10] IB/mthca: Replace counting semaphore event_sem with wait_event
Counting semaphores are going away in the future, so replace the semaphore mthca_cmd::event_sem with a conditional wait_event. Signed-off-by: Binoy Jayan --- drivers/infiniband/hw/mthca/mthca_cmd.c | 47 ++--- drivers/infiniband/hw/mthca/mthca_dev.h | 3 ++- 2 files