git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22fcb2
)
bus/pci: fix PPC condition for IOMMU class
author
Jonas Pfefferle
<jpf@zurich.ibm.com>
Tue, 7 Nov 2017 14:52:20 +0000
(15:52 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 7 Nov 2017 16:04:09 +0000
(17:04 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/bus/pci/linux/pci.c
b/drivers/bus/pci/linux/pci.c
index
85c90e4
..
5da6728
100644
(file)
--- 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;