[PATCH 2/8] IB/core: Replace semaphore sm_sem with completion

2016-10-17 Thread Binoy Jayan
The semaphore 'sm_sem' is used as completion, so convert it to struct completion. Semaphores are going away in the future. The initial status of the completion variable is marked as completed by a call to the function 'complete' immediately following the initialization. Signed-off-by: Binoy Jayan

[PATCH 2/8] IB/core: Replace semaphore sm_sem with completion

2016-10-17 Thread Binoy Jayan
The semaphore 'sm_sem' is used as completion, so convert it to struct completion. Semaphores are going away in the future. The initial status of the completion variable is marked as completed by a call to the function 'complete' immediately following the initialization. Signed-off-by: Binoy Jayan