From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by dpdk.org (Postfix) with ESMTP id B74148EA0 for ; Tue, 19 Jan 2016 12:46:45 +0100 (CET) Received: by mail-pa0-f53.google.com with SMTP id uo6so436575008pac.1 for ; Tue, 19 Jan 2016 03:46:45 -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=ZbLpVmsZl4+MyYBq78MJ8XM6XMUb5pk2CHhuLRCC6V8=; b=MYxGmU2oCZwzboqUSsgi7iVZ2Yzmgy6UjWgsQGxgUUbUeHPnM1R+jOD30FwWU4O45j k7gFlMu+dxVy8jIkqxnqc6Y4pG3PXY79+jye86q7fM7KbdhCP4YonNFOfwsO7eYNegPg 5pbszdKEtEg4CKd32dl2LWTW1Hq0bNNgx/ESXdpvhMnPNNx6Nc/bVXFrTtefrLGrxAdU hRkG/PF4VEsNtIGSlV9CxW1IdfAgFXqRg4dcL/aLR1VfFffYLny3IoeTNH66tdCZwJX6 /2uAEwxMTcLpsnC1uOccoFTUN8DBY46JjxNS+ionUilIs6/fIV1JnS0uur1Z0ca0my82 ClKQ== 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=ZbLpVmsZl4+MyYBq78MJ8XM6XMUb5pk2CHhuLRCC6V8=; b=EV4nBpC/pt13ugBwrKOVDe/n8WBA0Cq6os7bm6xeAaxpOCOoK5YONy9tpH6rOX/3lY 9kCXQtaTp+bbkDVQUNyugUdsov8uyw1X7XrztItv5Cig6WbW2ZLQBW1fDdF6SgtJC9nh jN81sqwPplNh7KiHSzAwKwMsakYug2isv3P2eW908pFjpJ+sRys5KAoooAb6s4zcBieX uMRxHk+menTLS2S+NMNPg6bPdmaOc18K+mh2Esfojapd6g7HvzTem8DX5r78yKeFSRG2 6APAaOaDmTEg6xH12hqTb8hpK0dWC9pcF5dC2IUMc4KJge8bI8smGlFxVzE9puGUiq/P WtXQ== X-Gm-Message-State: ALoCoQmgDjN0QjMvKZHj7Cpor1WcOS4AEYLXTXFt/npiNMPSgykNfCOPEHFq0OGlFVmupncZW+KjrepreyOyakGlw4twhS1Q2w== X-Received: by 10.66.156.134 with SMTP id we6mr43424206pab.92.1453204005194; Tue, 19 Jan 2016 03:46:45 -0800 (PST) Received: from santosh-Latitude-E5530-non-vPro.mvista.com ([111.93.218.67]) by smtp.gmail.com with ESMTPSA id 75sm41014170pfj.20.2016.01.19.03.46.41 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jan 2016 03:46:44 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Tue, 19 Jan 2016 17:16:05 +0530 Message-Id: <1453203972-24855-5-git-send-email-sshukla@mvista.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1453203972-24855-1-git-send-email-sshukla@mvista.com> References: <1453203972-24855-1-git-send-email-sshukla@mvista.com> Subject: [dpdk-dev] [PATCH v5 04/11] 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: Tue, 19 Jan 2016 11:46:46 -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 99572a0..f550d22 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