vfio: fix build
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 3 Apr 2017 12:58:05 +0000 (13:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Apr 2017 18:00:23 +0000 (20:00 +0200)
commit9fa5993f103712d10be0f0b111a3a9afc92cd9e6
tree84c56767dd5a589a82b4ceb58f78b304f535044a
parent21be6fb6af7a26c6c92fe37128a99ffdfd8d69d3
vfio: fix build

Some compilers require definition of vfio_iommu_spapr_tce_ddw_info
before its use in vfio_iommu_spapr_tce_info, so move tce_info
definition below tce_ddw_info.

Fixes: 468f42cc2645 ("vfio: fix build on old kernel")

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