From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id AE7A393A0 for ; Wed, 27 Jan 2016 03:25:11 +0100 (CET) Received: by mail-pf0-f169.google.com with SMTP id n128so108989944pfn.3 for ; Tue, 26 Jan 2016 18:25:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l9Y/+VYEZnAQpsxUyrU1KXMLqDrIBN+xZWPL4ItMUKY=; b=dwN0gnT2aN8R5kjgQNLORiFBlCDVEKNg34NhRuDTbF75xDSXvvK2mMNmLwiKvewaBA Huoe7cObv6DCI3A01ZbA2wNIStZQprdiFc6zstwM5dMoXahOLheOBgD4arTOFEwE+iZc hl7A/eDgG+zejchoN8NOD8nVNlaJBQDcaK5Cenr9o6pc3Of0jB3CZYqShkQfyAMlpBwa 0F87wZ2ojuHNUx372YwfwmDHnh5jT7MdVbX/T7CaJPhJJF5LLTE0up38BSTB2rkKv7Ts jY+xbdTv9KKU6/OJn7MOq6J5uOyoddx3jAuNYGaByl2rHF9vgL9heqwRpyvEgF70NS44 5udg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=l9Y/+VYEZnAQpsxUyrU1KXMLqDrIBN+xZWPL4ItMUKY=; b=kx4BBW6bFbKuyKg/lvmFhl9GplmlkR/lzMrS41DK9rYAKOqJz8h4oDDaOlZ5oouL+m i+H+Imtfyxez0yZHpciFzWGaCAvYQeE7ki7/rr0LCJZaf+cHGbdNnaC03wtL4vr9pg9J ziHe66Cn65RIVLgmAiVlDQ60g3VZ3ffdKQalgk+wsQGSiQfx9igANjMBNFeQ554OY4to 2NWlDGp7zDyMmIeAud7+kvPiWtnnJmeepiHvJqodRBebvmPNegSTv5kAuS9yg9kUjApR 3/N4NQs5Y5EumIJtKoOJEAowNkxxS1xZxFB0GANIk24hRSlnTXaELAdxta3TVpBrQkrl X+gw== X-Gm-Message-State: AG10YORJGAZzKNSBgJoJOorplshjA9vOqaFI+8M7iigSHpjvFIEcjpQDp07gFPD2W9BvN3Y4W2RpB9EhnIsjdWMg MIME-Version: 1.0 X-Received: by 10.98.12.131 with SMTP id 3mr39475255pfm.155.1453861511009; Tue, 26 Jan 2016 18:25:11 -0800 (PST) Received: by 10.66.196.81 with HTTP; Tue, 26 Jan 2016 18:25:10 -0800 (PST) Received: by 10.66.196.81 with HTTP; Tue, 26 Jan 2016 18:25:10 -0800 (PST) In-Reply-To: <1453203972-24855-5-git-send-email-sshukla@mvista.com> References: <1453203972-24855-1-git-send-email-sshukla@mvista.com> <1453203972-24855-5-git-send-email-sshukla@mvista.com> Date: Wed, 27 Jan 2016 07:55:10 +0530 Message-ID: From: Santosh Shukla To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [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: Wed, 27 Jan 2016 02:25:12 -0000 Ping On Jan 19, 2016 5:16 PM, "Santosh Shukla" wrote: > 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 > >