Whamcloud - gitweb
LU-12270 o2iblnd: pci_unmap_addr() removed in 4.19 57/35157/4
authorLi Dongyang <dongyangli@ddn.com>
Tue, 11 Jun 2019 07:47:14 +0000 (00:47 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 27 Jun 2019 21:47:13 +0000 (21:47 +0000)
commit7b8b457722aafc7a51ce86bff000ba07ddf000c0
treee5e3a02a57aa490423ca443c445d51f078b7e5dd
parentfa0fff00272216dd0947e67cfb43f258239b8f27
LU-12270 o2iblnd: pci_unmap_addr() removed in 4.19

Since kernel 4.19 the pci_unmap_addr() wrappers have
been removed, along with linux/pci-dma.h
We can use the good old DEFINE_DMA_UNMAP_ADDR instead
of DECLARE_PCI_UNMAP_ADDR.

Linux-commit: 18b01b16e8bae9cd227909f6e6d2783d74855f65

This patch is back-ported from the following one:
Lustre-commit: 0cae491cc6d3cc949972366a3fdfdf32dfea5912
Lustre-change: https://review.whamcloud.com/34827

Test-Parameters:trivial
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: I387bd3d1c4e8c3bc75400ce1be05132fb25f8a50
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35157
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.h