From patchwork Tue Aug 8 20:00:08 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: 109674 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3413747qge; Tue, 8 Aug 2017 13:01:39 -0700 (PDT) X-Received: by 10.200.39.130 with SMTP id w2mr6930354qtw.244.1502222498953; Tue, 08 Aug 2017 13:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502222498; cv=none; d=google.com; s=arc-20160816; b=aTSBeGEG6fSbWpID1CfCmD4sE8n1kM0odsWXqUX/HgsnVgh7ltQjX/T4WgBK7gzcZC B3YHbCZchmxv8r9P4Xjro7RhNwbAtPMOGLRtFTap74SBfRKFgGByGaAVyUscnFZZ8l6T aZZ5fMiQqD3OTXfsYyT0YAh98afNPKgbD+OuQM8Wo70/4I08TxcKKTxGwg+nAaH68HYt +YfF3e+D6OR43tmaIw0X51GkgUTA4JLbfCiQpTsEF118mU6ZqTrcsgyvE2mzOAOUqVji t8X7U6hewNLPCta4MDqa9fGGs3lANy4xckjGqGTDSkUhoukV7BMGnkcOll0dEjHIj9Dr RclQ== 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=LWfRBhIRT/bYe3/mTSOyf9K5V+ax6OQ1iv0tV1sEwzg=; b=LXlj65xGUkVjy2akfJ5pQTSe1I+brRDAXFKjVW/lCFn0D+7ypRuJtdmQ1ojLr3jfKJ oYfkJbfzcdkMBQzgi9S9hN20cZDy6y4kNtS19yOSoDX+BX2d8RQzqz1ZQ6C9XxlC/WRe n9buLo8XxEZUrUQ60RPRlAqW/Dmi7mzrCEqrRtG95D6Mzu7jrWk5e87zthEFcDlnlTHs n2Ek1gN/DoQDab/OgOWmNIqeA8NPTfOvJq1cDdRKbs0OHH7tPdHC7+CIU1CmvfhV85Sy ejMGMIv5Ks5B3MiFh1tFU6RxD3+IO4yS/3ylANv5QwbwS+560YaFXqhh7BJw9iiqaSK2 Pjeg== 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 5si1599114qke.453.2017.08.08.13.01.38; Tue, 08 Aug 2017 13:01:38 -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 8A96D60C6A; Tue, 8 Aug 2017 20:01:38 +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, RCVD_IN_DNSWL_NONE 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 BBED660C09; Tue, 8 Aug 2017 20:00:36 +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 8AB1C60BED; Tue, 8 Aug 2017 20:00:30 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id A172B60688 for ; Tue, 8 Aug 2017 20:00:28 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 417F16A82F52 for ; Tue, 8 Aug 2017 23:00:27 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id JfotiIZF9Z-0RMeNut4; Tue, 08 Aug 2017 23:00:27 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 9BRJ8cTE2V-0QqGEvYh; Tue, 08 Aug 2017 23:00:26 +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, 8 Aug 2017 23:00:08 +0300 Message-Id: <1502222409-9574-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502222409-9574-1-git-send-email-odpbot@yandex.ru> References: <1502222409-9574-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v3 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: e420668cd3886f003c8bd6022e210bf08a0ee3b5 ** Merge commit sha: 4ec4664e462d336f5b34b03ec598531c07ebf235 **/ 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