From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by dpdk.org (Postfix) with ESMTP id B3AB495DD for ; Thu, 7 Jan 2016 17:34:17 +0100 (CET) Received: by mail-pa0-f47.google.com with SMTP id cy9so262469004pac.0 for ; Thu, 07 Jan 2016 08:34:17 -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=SlBj1j+aJJBS3XiFfrkeW6/BYKaBcO5OAKWWFwnAHSw=; b=sI6t3rH5OELe0MhZJOLVtHy9J1LnVbu15tGWh5hgnxNxpiByvIkXbcEpsOub/K/kgy tcy/9G990Hd1Sfd+z3Oi3Yfsgt+L6Xip4CaqfMIWQ+/nUyQOvSEhA1x5R6Ff0imLsku0 8o41J3LMEzSAVorS7PQjg2Qz7rzfKwFSQ6OZYMTFxMWRm9BZRiPHlpBd9cR4kOZv/ofS 8DEZjgu7Y0m7KzJWVwkQlOI+nVD+ueyWu60UE6kO5tQxqVoGoKGP2owdFAxP8F3keMxT nq5ROwWE+PVD3u684XwMlxFsZDObg3LVcTQLsxUJ07LDJmbSIJNHapGvtDdclK7YptCP NLCw== 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=SlBj1j+aJJBS3XiFfrkeW6/BYKaBcO5OAKWWFwnAHSw=; b=bqEjbV5jQvC+LctQjnipV9yU6bhFc9eknF3f4IuOsdIb7wvOy4YRzOo+nBZaz0947q 0hn90TzhP5jwRATeI6eU92+bF/6ZdPywFPAhNcA1nAz1Az0RnL5QmhqRu4+c8E9Nw079 QjaXo758DIdvwncV4CdKv41r/cApmjNhfHz5CwIfeZDj0RA96d78VFuW5cl8NJHTx1PU C9RFmB8cKsDgVvTUfdky/el9huzzwPXVy1I3A5gH6mRG5jDpUjZGApCvpTgguqcK9RvC 6AlPC+KH4TfZChLUz+B7HnD8O5HT22CxjeVYR3COYeO3d9+vLMcOJ9aytGTnJJept483 7tQw== X-Gm-Message-State: ALoCoQnHqH228zxiJvrGSS5bDWLafYJn1lWIRcJEyX91fPvhqr+3tVdicBv4SmuAw9xWX9/r/GWFKnQNZUq2DEdbhXr70rlcmw== X-Received: by 10.66.216.200 with SMTP id os8mr152954826pac.143.1452184457122; Thu, 07 Jan 2016 08:34:17 -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.14 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Jan 2016 08:34:16 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Thu, 7 Jan 2016 22:03:00 +0530 Message-Id: <1452184390-5994-4-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 03/12] linuxapp: eal: arm: Always return 0 for rte_eal_iopl_init() 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:18 -0000 iopl() syscall not supported in linux-arm/arm64 so always return 0 value. Signed-off-by: Santosh Shukla Acked-by: Jan Viktorin --- lib/librte_eal/linuxapp/eal/eal.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 635ec36..2617037 100644 --- a/lib/librte_eal/linuxapp/eal/eal.c +++ b/lib/librte_eal/linuxapp/eal/eal.c @@ -716,6 +716,9 @@ rte_eal_iopl_init(void) return -1; return 0; #else +#if defined(RTE_ARCH_ARM) || defined(RTE_ARCH_ARM64) + return 0; /* iopl syscall not supported for ARM/ARM64 */ +#endif return -1; #endif } -- 1.7.9.5