bus/pci: fix PPC condition for IOMMU class

This fixes the use of an never defined PPC64 define in
ret_pci_get_iommu_class.

Fixes: b48e0e2d9c ("bus/pci: fix IOMMU class for sPAPR")

Signed-off-by: Jonas Pfefferle <jpf@zurich.ibm.com>
This commit is contained in:
Jonas Pfefferle 2017-11-07 15:52:20 +01:00 committed by Thomas Monjalon
parent d22fcb225c
commit f1b7c6b7f5

View File

@ -587,7 +587,7 @@ rte_pci_get_iommu_class(void)
bool has_iova_va;
bool is_bound_uio;
bool spapr_iommu =
#if defined(RTE_ARCH_PPC64)
#if defined(RTE_ARCH_PPC_64)
true;
#else
false;