From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id 6AE048E9B for ; Mon, 14 Dec 2015 14:01:04 +0100 (CET) Received: by pfbu66 with SMTP id u66so60960359pfb.3 for ; Mon, 14 Dec 2015 05:01:03 -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=oijmrfYbjv5AeAalPYKCZBVPvlXh417xCoHQKv5cAA8=; b=rDTDsM06UAarteem9ejkt2lcEaNKCQuClwox4hgLG06ywZh8kfrlxP5OcBKW9W+/FO owAD8xpGqApTsmoyJPTbY3yDWvdMAeQtL6IvlO8T9t35teRAeLgkmIelb1pyay6Luw1z 8Kc5i+LmMgyh+NQbpO0XzyRIQGLYkob3HPE7PzYY+DyzOTkIEk4u4dNSQLxK8lOQS91Q UltNPX5x2WrOrq7qZ56h2vQqVDnWRYMABL7/W3duswL2PeSYhtFzppykGfjO0FOKwoga U/wI4p+oFNOtRTht9wklVfmNoAKEdMahkF+Y7O7PrD44ji+6W+wISzfPtmlbh4vBAUBA e4Gg== 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=oijmrfYbjv5AeAalPYKCZBVPvlXh417xCoHQKv5cAA8=; b=lDlkpmruty/sE/igsiVP/u1ufY2FBfiD+9dloFUpn2PSFhBivBlBrpQinrNJBaUHyW 0u0kKiGVMDSQ64n7511GFuiWNlyZZDmSxRCcD9Y7eIDrBn0Io9opfLrDJtYWw+uqrRlN ES2G9mmKNU4CWc263BtINHTPytHwrJ78fN+ZjWNO/fTw9UCwjxl2YmdUaCDC4w55depj +Kd4qLEeSmcDznNDG89Waagk6V5Fc4YSk4V+qtFADMeR7F8sRqxJuqelcRqRKndD1M+J MHFPiSzDpnsOz2MEucD+9wmPnBwk7/6OFdglgAawWdkLu58UwllCx5f1dE/XwURe7JP1 T1TQ== X-Gm-Message-State: ALoCoQmKvAcQlisKGcoBueMv1pI9QVOMJWeURro2+vN6SVNs4taOJZsESHNK8TB3xgKuXdB7b0PrpHoV214EeN3Dv8ZY+1m09w== X-Received: by 10.98.42.208 with SMTP id q199mr5685436pfq.1.1450098063827; Mon, 14 Dec 2015 05:01:03 -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.01.00 (version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Dec 2015 05:01:02 -0800 (PST) From: Santosh Shukla To: dev@dpdk.org Date: Mon, 14 Dec 2015 18:30:26 +0530 Message-Id: <1450098032-21198-8-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] 07/13] 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: Mon, 14 Dec 2015 13:01:04 -0000 iopl() syscall not supported in linux-arm/arm64 so always return 0 value. Signed-off-by: Santosh Shukla --- 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