]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Clean up pin_vector_pages() function
authorHarish Chegondi <harish.chegondi@intel.com>
Tue, 22 Aug 2017 01:27:03 +0000 (18:27 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 28 Aug 2017 23:12:20 +0000 (19:12 -0400)
commit4c6c9aa6cbb0574c96635f3e4e1c5791e8fafca7
tree2c21a5e9596920ce443c66d555df000d7927a850
parent624b9ac15c3cf0896721e76f4e23ab0d25148119
IB/hfi1: Clean up pin_vector_pages() function

Clean up pin_vector_pages() function by moving page pinning related code
to a separate function since it really stands on its own.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/user_sdma.c