* [dpdk-dev] [PATCH] bus/pci: fix use of wrong PPC define
@ 2017-11-07 14:52 Jonas Pfefferle
2017-11-07 16:03 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Jonas Pfefferle @ 2017-11-07 14:52 UTC (permalink / raw)
To: dev; +Cc: thomas, anatoly.burakov, Jonas Pfefferle
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 <jpf@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-07 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-07 14:52 [dpdk-dev] [PATCH] bus/pci: fix use of wrong PPC define Jonas Pfefferle
2017-11-07 16:03 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).