From patchwork Tue Aug 8 15:00:13 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: 109667 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp3065745qge; Tue, 8 Aug 2017 08:03:35 -0700 (PDT) X-Received: by 10.55.164.7 with SMTP id n7mr5476189qke.343.1502204615207; Tue, 08 Aug 2017 08:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502204615; cv=none; d=google.com; s=arc-20160816; b=W97zmOhMAELx2dNIrHoxVLduhQ3ApoOy6OhMJUNY4be6Cyw8/c32rJ+jypS7/mMTRH Ll9QMQ7B9d8/jO62evZ1Tzj6c5AVyApP6ur424AEWA0PoCQjbnIwYiwKW2S4i6yV81dl +YLbY/A8qja7gP9r1xv3amCX4P5mVgzNP2NBOwsPJdHIhIchiFlv5MuWtvDAWU9ZwTOJ vYhXWrydZAUwnu6luDbsNJpSEf5FCO2GfAyuwZ53l90i/82wWKMD7HzqwLWUUaSD2ou6 N5fp7+iRqhqklya+PLbWMydbia0sueT0OBr4m6SyODh1Kgr4cBOpWeMkipgrKgGVWKDa H3lQ== 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=qtUOKNSfsaE+iKlZzjqmsAFxdjJeT3pUzgozTS0UaZ8=; b=D0gM0JZ1b3EB4Grnj58H4es7YzLF3Pmt3tNcBzEcP+wY1iKv1tLwjHAgOUbvxt56lQ 7SWnkf81RXwqpUf8FbtT0yH4k5mPT+KrI5KH9FMGHTWtIAzaMVzh6gs83xf6SJzoIbMr J1cARM5uMNO5El93uXcb1UdEu8AME36QCMRCWMHpQ01t1ouOIBu/SOhy8Fnq6Er3j1PJ y1mLnLyxGwYoo4JKL5SZbkPUaIF53Y4KaKsiE8iNzSXGFggCBkM6hLgtGl2qw6Mk27QY cJuHuQc609nZhSJjRndBWjA0aVIsFrthIdAisl+BVxDqYZW2yfu52OrzR3oO8O6ctfi6 Rc9g== 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 v68si1258909qkd.300.2017.08.08.08.03.34; Tue, 08 Aug 2017 08:03:35 -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 B232960CE5; Tue, 8 Aug 2017 15:03:34 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,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 3242A60BFA; Tue, 8 Aug 2017 15:01:35 +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 925B261235; Tue, 8 Aug 2017 15:01:31 +0000 (UTC) Received: from forward11o.cmail.yandex.net (forward11o.cmail.yandex.net [37.9.109.178]) by lists.linaro.org (Postfix) with ESMTPS id EDF2E60C09 for ; Tue, 8 Aug 2017 15:00:32 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward11o.cmail.yandex.net (Yandex) with ESMTP id 706582155E for ; Tue, 8 Aug 2017 18:00:31 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id F0hQUr1bPT-0Vae6fKT; Tue, 08 Aug 2017 18:00:31 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id xzJc556BXh-0U1OHNGL; Tue, 08 Aug 2017 18:00:30 +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 18:00:13 +0300 Message-Id: <1502204414-3697-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> References: <1502204414-3697-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v2 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: 3c45ed0f11246bba34da1ea38de6e2ffc9435299 **/ 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