From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) by dpdk.org (Postfix) with ESMTP id 09AF19AD8 for ; Mon, 7 Dec 2015 18:09:28 +0100 (CET) Received: by pfdd184 with SMTP id d184so67780133pfd.3 for ; Mon, 07 Dec 2015 09:09:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=4RYsIn88lH8PkG33KYwIjcAvPHAmVvuS29cGgXR2fgc=; b=i1sSNTAn17/mffPb9anzkLZSHfQjLwqvzyimLqLDPqbAGLNtgNY1ZIynnYi8UrMA3Z xfxwcrKhT/MbSUoGBZIqIUTkp834b5ZPUOewx4y7AK9ZUsb4dPz3ncHliQgNqX6FQf03 XZM5urZzndC3KuGUD/m1M0sI2U8T9n6iJO/i3zc9DT8SrElUsdv27hQVDHakLC19VfXi Pk2yvQD1ZLGRdaJcd8Mu8z8QuQBHPN2sWwYZuLVaLh2wYcI6BeiY0MoSk7eqNRLJEmYQ v3v/XQJrXQuSPd5TYRf1Op0dtGayFPyHjyGxbtFcnPv0L2wqXEqe/sl6D/Z/EkRz2Fhy I+DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=4RYsIn88lH8PkG33KYwIjcAvPHAmVvuS29cGgXR2fgc=; b=Ja31A1uaj1cn/ix7zBR0E/IKSvpAJvM5GxXJDsjnzV3rUgZVA8Osic9UXCbovjBarw ztIcEsreLxtugQzk0XpfNGhaSmZn/3ruLXiX/ZpcaFKkpTo4qgfLskqlhNNLz8rFgLrs 3rx8AZEwdEiaEyx+rFTkXJVNpBwIXMSfp+ovdNYq1ULcHJxslSsvtUivwelYlNihMVlN mHL1APS5+jU1jpG3nGmQJyZeF9En/5Kkj+g4CrnIgAW1J6EgzSAXIz3zAHk2JCCCV7sk 2G+ms8K9PqtxAXWNL1chAYSqy+2BqQC6qU2A+ifJTV/JQOhSjJD+/U/rxcKkiyf4RYt2 ICZQ== X-Gm-Message-State: ALoCoQlrbj3n+WSD1B5GfJpGdcB9s0FNrjtrq4xBqcRzejD1vjVv+bO87gkLjMsgkqHhyhwOtiIS X-Received: by 10.98.89.136 with SMTP id k8mr44752218pfj.58.1449508167384; Mon, 07 Dec 2015 09:09:27 -0800 (PST) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id d14sm35813344pfj.4.2015.12.07.09.09.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Dec 2015 09:09:27 -0800 (PST) Date: Mon, 7 Dec 2015 09:09:36 -0800 From: Stephen Hemminger To: Santosh Shukla Message-ID: <20151207090936.32368531@xeon-e3> In-Reply-To: <1449250519-28372-4-git-send-email-sshukla@mvista.com> References: <1449250519-28372-1-git-send-email-sshukla@mvista.com> <1449250519-28372-4-git-send-email-sshukla@mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 3/6] virtio: armv7/v8: Introdice api to emulate x86-style of PCI/ISA ioport access 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, 07 Dec 2015 17:09:28 -0000 On Fri, 4 Dec 2015 23:05:16 +0530 Santosh Shukla wrote: > +#if defined(RTE_ARCH_ARM64) > + uint64_t io_base; > +#else /* !ARM64 */ > uint32_t io_base; > +#endif Is there a typedef that could be used instead of having #ifdef clutter?