From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id B7D021B3E0 for ; Tue, 7 Nov 2017 15:57:39 +0100 (CET) Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vA7EvGWn020834 for ; Tue, 7 Nov 2017 09:57:38 -0500 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2e3bhgx5up-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 07 Nov 2017 09:57:36 -0500 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 7 Nov 2017 14:52:25 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 7 Nov 2017 14:52:22 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vA7EqNoE32112660; Tue, 7 Nov 2017 14:52:23 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C27CCAE051; Tue, 7 Nov 2017 14:46:00 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8AE0BAE04D; Tue, 7 Nov 2017 14:46:00 +0000 (GMT) Received: from malvito.zurich.ibm.com (unknown [9.4.69.80]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 7 Nov 2017 14:46:00 +0000 (GMT) From: Jonas Pfefferle To: dev@dpdk.org Cc: thomas@monjalon.net, anatoly.burakov@intel.com, Jonas Pfefferle Date: Tue, 7 Nov 2017 15:52:20 +0100 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 17110714-0008-0000-0000-000004A88B48 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17110714-0009-0000-0000-00001E3B238C Message-Id: <1510066340-12501-1-git-send-email-jpf@zurich.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-11-07_05:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1711070203 Subject: [dpdk-dev] [PATCH] bus/pci: fix use of wrong PPC define X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 14:57:40 -0000 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 --- 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