This fixes the use of an never defined PPC64 define in ret_pci_get_iommu_class.
Fixes: b48e0e2d9cb4 ("bus/pci: fix IOMMU class for sPAPR") Signed-off-by: Jonas Pfefferle <j...@zurich.ibm.com> --- drivers/bus/pci/linux/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c index 85c90e4..5da6728 100644 --- a/drivers/bus/pci/linux/pci.c +++ b/drivers/bus/pci/linux/pci.c @@ -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; -- 2.7.4