From patchwork Fri Aug 4 09:00:07 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: 109381 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp1885231qge; Fri, 4 Aug 2017 02:07:35 -0700 (PDT) X-Received: by 10.200.48.66 with SMTP id g2mr2125904qte.119.1501837655649; Fri, 04 Aug 2017 02:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501837655; cv=none; d=google.com; s=arc-20160816; b=091IGzkYTGyqWaoaZPRnkAbHBsToToGCMrlaNl/pcHvHXY0CoQDqwE083UUyzXngUT LrbHRIe9KH9uMYWxOy30e1okx4EJATrzciFQ33hM98BGUZrGtaEEbh6o3nh0sNGf0Lnq 2rCFFFcvQ0rjr2YehE4vg+UB/Dj4nMm55lFfYg0aZQHHc45SX/j7IJR1ja0JwuG0uSo2 f6EQ/rR5PNBxJXVNUltmlqn5dtBjWYj+9XeerOW2+G42AuUM6bppyuaEf2WPRXj9ZDiw jWyUiFRiv2/bHvJJhXU8Oe9DX+1tvjXxb3Csz4FoNVXuReGnMC82vsd95KSKRyjBKN3x FpLA== 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=v0t6gIiAcqHEmPQISYCsMu7l98bbhOqTgO8bg3/c86M=; b=O9FSpX2CaMD9EFRFOpPaImCiAxcVnvGrQVPkKu+m4PgZNvb0xNvUIvXwk+IdVeM4TT eB1PcpXHP26IN4QQwHhIunQ+kaZMxkAhPsJMDsLmiH89D9PsBCQ/rmuMlIzaH3wVdAz1 GxhY7/BLtJ/s65vyMt8UQ7EaQ2h3+f40YX0HCwd3ZY8dK4yd/4ewkTUCV1BsmDK+msDA VK7uXevjOFURebdpr32ylxGAjVwHkpylOlI6MrMmHyaFhyMCoNIsdemJGLagHWQ/9fQx rtw2QheKpIOzMSRbqqUjV64RQgJmAB7LH8uMt9jKUsGltNA+qixeKpWuN2++chpxYybe CU4A== 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 x5si1103739qke.346.2017.08.04.02.07.35; Fri, 04 Aug 2017 02:07: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 59712644D8; Fri, 4 Aug 2017 09:07:35 +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 93172644FC; Fri, 4 Aug 2017 09:02:55 +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 463E464490; Fri, 4 Aug 2017 09:02:50 +0000 (UTC) Received: from forward3o.cmail.yandex.net (forward3o.cmail.yandex.net [37.9.109.247]) by lists.linaro.org (Postfix) with ESMTPS id 2D8D364471 for ; Fri, 4 Aug 2017 09:00:49 +0000 (UTC) Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::25]) by forward3o.cmail.yandex.net (Yandex) with ESMTP id DC8D320EB4 for ; Fri, 4 Aug 2017 12:00:47 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 61BB01300E9E for ; Fri, 4 Aug 2017 12:00:39 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id kkQJPUXR1g-0dG45tt3; Fri, 04 Aug 2017 12:00:39 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 4 Aug 2017 12:00:07 +0300 Message-Id: <1501837208-7450-13-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501837208-7450-1-git-send-email-odpbot@yandex.ru> References: <1501837208-7450-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 108 Subject: [lng-odp] [PATCH API-NEXT v1 12/13] 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: 8390f890d4bd2babb63a24f7b15d2f4763e44050 ** Merge commit sha: 44fd671a0d2772a32395c7f0574aa545d2a9aa71 **/ 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