igb_uio: fix build with kernel older than 3.3
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Jul 2014 12:27:55 +0000 (14:27 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 22 Jul 2014 13:00:00 +0000 (15:00 +0200)
commit484c308d3c8bc5f7436ba7d8e060a9c8ab552fd3
tree03fab82c8a3280564aee450212fc147707296e0e
parent5b2f8137efb3abccda57b3dcf3ce437c08057d32
igb_uio: fix build with kernel older than 3.3

Since Linux commit fb51ccbf217 (PCI: Rework config space blocking services),
the functions pci_(un)block_user_cfg_access are replaced by
pci_cfg_access_(un)lock.

The compatibility with older functions was broken since commit 399a3f0db8b0
(igb_uio: fix IRQ mode handling).

Reported-by: Yerden Zhumabekov <e_zhumabekov@sts.kz>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c