From patchwork Tue Aug 15 05:00:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110086 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5230062qge; Mon, 14 Aug 2017 22:08:00 -0700 (PDT) X-Received: by 10.200.8.232 with SMTP id y37mr34328863qth.329.1502773680582; Mon, 14 Aug 2017 22:08:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502773680; cv=none; d=google.com; s=arc-20160816; b=a98EOZFlVrYOiH2NhGkz6QebYzefsXqhu8xjHPQh3jvCRfWdEON5nQwmHJUqgJT7FT zEZyPQkknGTP9AQoOtIm2kKNXTaQ659FlWBuAOPP/7yT2VZfCFJy1PvTZryPLW/2/8+2 2cHZ4T1dgN/+SwgsWL3fcoSY+BktgUQCCPPzbRY8fSgpqzslRWy6Igq2ZhcokfP85qbv 416QZIQd9Esbl0Oxq/nbuvan7WJjfpKP4zbb9iAHcrwmORNbQBqDJWW0TUt9UPsDb5rT suicTWH5OPab+QhAqxZ3Ax0KPC3gJn/SW1ZRAz6KSOPXvzlN0+I3BW3gIX1uJIlxecXa dJqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=cFPeUtHPdfwfQQPBISusShFGedaO1gvmXwfchT6q4Ic=; b=ywoNtP27nTiSBG8SlAy1++hsANQFQgzt5Vyk8uetddojeDKuRF9IAaUXqzNczxMCnq OCzZGjtWgIV4bvDERp5PWbA3I3ksWyEgAXQcR+RwGyNjydc9eBSnsfqNqoqhW4aH+gir 2nb4ECWIQTrjU4tvqTbv6wYt0hE4L1cyS7hZS8xYiYAcH8M7us1Wcw1MwQuetZpXOGzU r5kmQYCgdiY8N1u01OqF8X2kcD4PVh3bR5lb6tEYzs5IXXpC7XNtKc8ncP0Qo6abLKAB 0Ddn1E6gmphRcjCBwJTbsOh3/hRQzr8/foqBZFuqUUrcmwROLLXP44LiZY/cDSfPo1oG DMsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o100si5014639qko.72.2017.08.14.22.08.00; Mon, 14 Aug 2017 22:08:00 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 4EC4760AF6; Tue, 15 Aug 2017 05:08:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E669A65C01; Tue, 15 Aug 2017 05:01:57 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D683665C00; Tue, 15 Aug 2017 05:01:46 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 975F365BC9 for ; Tue, 15 Aug 2017 05:00:36 +0000 (UTC) Received: from mxback20j.mail.yandex.net (mxback20j.mail.yandex.net [IPv6:2a02:6b8:0:1619::114]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 2DEF344439C0 for ; Tue, 15 Aug 2017 08:00:35 +0300 (MSK) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [2a02:6b8:0:1a2d::25]) by mxback20j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id O2W4jJfWwO-0ZaO5vgN; Tue, 15 Aug 2017 08:00:35 +0300 Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uAoPgDfmtd-0Y8iRc53; Tue, 15 Aug 2017 08:00:34 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 15 Aug 2017 08:00:15 +0300 Message-Id: <1502773216-31620-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> References: <1502773216-31620-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v4 3/4] linux-gen: scalable sched: mark sched_grp_lock as static X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 108 (lumag:symbols-cleanup) ** https://github.com/Linaro/odp/pull/108 ** Patch: https://github.com/Linaro/odp/pull/108.patch ** Base sha: 3547226b19e6982bf74fc8c258b89db2c5f6a39c ** Merge commit sha: 96b4b72d57a270b2b7ac6609852c867ee2de5a1b **/ platform/linux-generic/odp_schedule_scalable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_schedule_scalable.c b/platform/linux-generic/odp_schedule_scalable.c index 78159b53..a289a7d7 100644 --- a/platform/linux-generic/odp_schedule_scalable.c +++ b/platform/linux-generic/odp_schedule_scalable.c @@ -87,7 +87,7 @@ ODP_STATIC_ASSERT(CHECK_IS_POWER2(ODP_CONFIG_QUEUES), static sched_group_mask_t sg_free; static sched_group_t *sg_vec[MAX_SCHED_GROUP]; /* Group lock for MT-safe APIs */ -odp_spinlock_t sched_grp_lock; +static odp_spinlock_t sched_grp_lock; #define SCHED_GROUP_JOIN 0 #define SCHED_GROUP_LEAVE 1