From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id 26258C12E for ; Thu, 7 Jan 2016 17:34:24 +0100 (CET) Received: by mail-pa0-f49.google.com with SMTP id uo6so244120855pac.1 for ; Thu, 07 Jan 2016 08:34:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FPOBW4fO8eS7OnOoC9VZHicS3DKFh4R98Y7t2qkMBk0=; b=iBKjCovXiFL9qGBCxBL1WcsqYUXJEfaLWv2VK0pjiAeP+ghauZNKQESwAQEdCQ//Cx v8E4IeN/BPQHoqrhOt8OSnWIOCJyqjCXQ8pc8GFF+LgM9jsKXqu6pxJcWv9kkhJXzrKn fQfRTcm3sxpqLad9hnuLg9AaPiojHkjgYlD05B6Uv/rpnmeKBYVGWDPpPDzip1wFUXpa pEOidA+q/cNaBtxCU2Zo1CGKBLtBsj6Yk5wdu+7wrAp+hAuItpWHbOOn83x9BvrAykwD cBUTSJ8EUFDyvGY3fbgIew9sk07YqSLolhyAMMTJYxJLD67eIkCCabD0yUNW3Je6Y7Ik 7c+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FPOBW4fO8eS7OnOoC9VZHicS3DKFh4R98Y7t2qkMBk0=; b=HckJsdtKrjdld8DGO3WmoMzHh1I/WFG0l0kj2eifgmBUUfM/Jkdh7Wn9dtEB2NhrrS b0AZAfKXXbQd4gVvZGO6td6t7x4nJPXZYGX812g4Hl6d6LOYFGhni45NGtRragJNpykl cVr9virZqB8/8DAsr6/6u99rsqMDjCEmgY3OieTpWmTPqs3DIwoBP9qaMnsDQqe+ZpcD k5dYx9MPYJifttS5f11CFHTnKRlb21CDYeEsc1H5uBPU5EZXeOmq2gi98tQ460Ij0Ovp lZ6g292xi50aR0NqjNntBNGWvtoLDEbfwnjxinaLJXRc4xrwRqQONnLcyIqfWR19uWX/ nl7g== X-Gm-Message-State: ALoCoQlIcbjE4GXFXE8bRVYFYywiRzV6ie+H7b+t3M2Ui+/kswn2DXVISzEGQZ7wBPGa7ZEeX3Vac+fX+mlESXr17mVA4fUrYA== X-Received: by 10.66.236.162 with SMTP id uv2mr152283010pac.101.1452184463466; Thu, 07 Jan 2016 08:34:23 -0800 (PST) Received: from santosh-Latitude-E5530-non-vPro.mvista.com ([111.93.218.67]) by smtp.gmail.com with ESMTPSA id yn8sm159454163pac.32.2016.01.07.08.34.20 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 08:34:22 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Thu, 7 Jan 2016 22:03:02 +0530 Message-Id: <1452184390-5994-6-git-send-email-sshukla@mvista.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1452184390-5994-1-git-send-email-sshukla@mvista.com> References: <1452184390-5994-1-git-send-email-sshukla@mvista.com> Subject: [dpdk-dev] [PATCH v3 05/12] virtio_pci.h: build fix for sys/io.h for non-x86 arch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 16:34:24 -0000 make sure sys/io.h used only for x86 archs. This fixes build error arm64/arm case. Signed-off-by: Santosh Shukla --- drivers/net/virtio/virtio_pci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h index 47f722a..8b5b031 100644 --- a/drivers/net/virtio/virtio_pci.h +++ b/drivers/net/virtio/virtio_pci.h @@ -40,8 +40,10 @@ #include #include #else +#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) #include #endif +#endif #include -- 1.7.9.5