From: Jonas Pfefferle Date: Tue, 7 Nov 2017 14:52:20 +0000 (+0100) Subject: bus/pci: fix PPC condition for IOMMU class X-Git-Tag: spdx-start~912 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f1b7c6b7f5eb51809aaec66a3fa31e600f2dcd12;p=dpdk.git 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: b48e0e2d9cb4 ("bus/pci: fix IOMMU class for sPAPR") Signed-off-by: Jonas Pfefferle --- diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c index 85c90e47ef..5da6728fb0 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;