vfio: fix build on old kernel
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 28 Mar 2017 15:53:43 +0000 (16:53 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 30 Mar 2017 14:55:57 +0000 (16:55 +0200)
commit468f42cc264580c078b892fe6886810fe996a75f
treebde7413693f4da144ec26af1e632cad1366f97db
parentd4d2380cbb02980bf0334601d9ce6ec5400413f9
vfio: fix build on old kernel

Fixing compile failures for kernels without sPAPR IOMMU support.

Fixes: 0fe9830b5345 ("eal/ppc: support sPAPR IOMMU for vfio-pci")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/linuxapp/eal/eal_vfio.h