From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by dpdk.org (Postfix) with ESMTP id 7D1158E7C for ; Mon, 14 Dec 2015 14:00:55 +0100 (CET) Received: by pacwq6 with SMTP id wq6so103428845pac.1 for ; Mon, 14 Dec 2015 05:00:55 -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=Y050yUh73GNm4MlpYNEOGcXuX+SzszQ2Zl+WVv5AyuY=; b=1Z5BFaA6IfJhlp7A7PO7YUK1cyfdoU/QDlJx04xXlfqFOnuQ9r7Gn73GCL9IRGnqqe yMaaM/YDThhZmJVrNHqVPGHU/ExNd2munipnIkRnOJDS7aZq0hk4kCR24JcUCmAY5T+7 HAfOWqSlMDvBtD8lXHGwEFdSp2lk4usoSfMTycRpUszKXqSz4vMcxLeUXPbkuZV5MiLK mlhqHUo9NqvfI/sCgi060h7yOXt/qkynUHp88bXPtLeQWSxanD+eYzdLQzEQMg54jLme Gw+4aIlDoJ6SOwUgHZ2p242TdDoSDsyWCwfYQAq2P339oRTYgSPYPzhxx/YdxLcsJuUX EKhw== 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=Y050yUh73GNm4MlpYNEOGcXuX+SzszQ2Zl+WVv5AyuY=; b=XP/RwyzwyAIF1Jqjb+liOUDfN8YK2I06qjIQyvgRjoT7ighuhvk+6om1ieHD8oHpAw XSGVPpLvUe49OY9E4l193Fy4vzGgwg7rjCiFq0NiDhDYHbj8yMj+QQ/7jJLHW72j4t00 ynWuXAwVOpTHrj3WMz75Y8KKiAi+h1Xz95KIOzQz4YsUpZ0i0YxUEoAOX1PQ0XB3HOHe wEw4RktdSlqfA5riTwDVqseE+tzpZj1oO64JIHjWe6hQCOQX+S9lpKPemKg+RsXZOffu LZPdzJh0cbo4knizBLV20iUybRSWBjMq/ASVcMVzdHlA6m9D71OUfpbFHXgYPSVRo7dt W1+g== X-Gm-Message-State: ALoCoQlpz3T8kEkjz8y2L/9RdEUSNDDkIrP14xo/1SH0mxm9Rwjl9zCsOnenFR6IqehU1x3p06hgloGdPr0KSn/VbZQUFytelA== X-Received: by 10.66.142.201 with SMTP id ry9mr46104850pab.89.1450098054886; Mon, 14 Dec 2015 05:00:54 -0800 (PST) Received: from santosh-Latitude-E5530-non-vPro.mvista.com ([110.172.16.5]) by smtp.gmail.com with ESMTPSA id 9sm42506405pfn.51.2015.12.14.05.00.51 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Dec 2015 05:00:53 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Mon, 14 Dec 2015 18:30:23 +0530 Message-Id: <1450098032-21198-5-git-send-email-sshukla@mvista.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1450098032-21198-1-git-send-email-sshukla@mvista.com> References: <1450098032-21198-1-git-send-email-sshukla@mvista.com> Subject: [dpdk-dev] [ [PATCH v2] 04/13] virtio_pci: use rte_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: Mon, 14 Dec 2015 13:00:55 -0000 Use rte_io.h for non-x86 arch. Signed-off-by: Santosh Shukla --- drivers/net/virtio/virtio_pci.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/virtio/virtio_pci.h b/drivers/net/virtio/virtio_pci.h index 47f722a..3f4ff80 100644 --- a/drivers/net/virtio/virtio_pci.h +++ b/drivers/net/virtio/virtio_pci.h @@ -40,7 +40,11 @@ #include #include #else +#if defined(RTE_ARCH_X86_64) || defined(RTE_ARCH_I686) #include +#else +#include +#endif #endif #include -- 1.7.9.5