From patchwork Mon Nov 17 23:19:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 40980 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9631B21F5F for ; Mon, 17 Nov 2014 23:19:36 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id gq15sf1385945lab.0 for ; Mon, 17 Nov 2014 15:19:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=QCXNJ2tdwz86DGWNdyo9DAOTSve3NFC0emwdxteXKbg=; b=hVzbZjXIu9RbnDqY3/xQXJkRF12lz7gzGOrKSIVos+oE4bHDj+yM62e0USJnIVWuGU wOrTbQZEYEh8ag9ej0UUbY6LM09VJnrrcrP03tjNGAmLbYST3bYaItR85bXhGyDwJwK+ jFfVfXlQYhYFEYlA2M+kpeMx6Gm2TMHE40LS+n+CUK/XnLP6q+b2CATmDPISmkNf/YMc bpJ11tVhsye2zyt9fy7XUjpJdl2tNdYRhy4Q4ByIEIRQDC1AqjQpB2YqrG0O1rLjO8Ie KVaF0tlBa6Uy6HeXrgobPp5Qcnx5kCW1hJdwi7NvgELh6WcIjbnjxKy2SvSDVBJYS29K Nb2Q== X-Gm-Message-State: ALoCoQloo7zWt8RF36WiifSC/6SssBXsksc0EWQVhwzGbe8SJhQjd/ZPJKyWV45FzlULkjYJ9/6V X-Received: by 10.112.55.10 with SMTP id n10mr60233lbp.14.1416266375483; Mon, 17 Nov 2014 15:19:35 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.138 with SMTP id q10ls1266165laj.83.gmail; Mon, 17 Nov 2014 15:19:34 -0800 (PST) X-Received: by 10.112.64.236 with SMTP id r12mr1369331lbs.3.1416266374697; Mon, 17 Nov 2014 15:19:34 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com. [209.85.215.44]) by mx.google.com with ESMTPS id g7si53622952lab.66.2014.11.17.15.19.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 15:19:34 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id hz20so9129099lab.3 for ; Mon, 17 Nov 2014 15:19:34 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr31156586lbc.23.1416266374274; Mon, 17 Nov 2014 15:19:34 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp1247065lbc; Mon, 17 Nov 2014 15:19:33 -0800 (PST) X-Received: by 10.140.38.136 with SMTP id t8mr38207355qgt.15.1416266373012; Mon, 17 Nov 2014 15:19:33 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id g38si66119144qgd.63.2014.11.17.15.19.32 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 17 Nov 2014 15:19:33 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XqVZy-0000lh-Pq; Mon, 17 Nov 2014 23:19:30 +0000 Received: from mail-ob0-f180.google.com ([209.85.214.180]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XqVZr-0000l8-8z for lng-odp@lists.linaro.org; Mon, 17 Nov 2014 23:19:23 +0000 Received: by mail-ob0-f180.google.com with SMTP id wp4so4775776obc.39 for ; Mon, 17 Nov 2014 15:19:18 -0800 (PST) X-Received: by 10.60.173.240 with SMTP id bn16mr10055923oec.41.1416266357987; Mon, 17 Nov 2014 15:19:17 -0800 (PST) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id e5sm7033842oic.16.2014.11.17.15.19.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 15:19:17 -0800 (PST) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Mon, 17 Nov 2014 17:19:03 -0600 Message-Id: <1416266343-7601-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1416266343-7601-1-git-send-email-bill.fischofer@linaro.org> References: <1416266343-7601-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/2] API name changes for odp_barrier.h for ODP v1.0 X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bill.fischofer@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.44 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This patch reflects API name changes for odp_barrier.h for ODP v1.0. Signed-off-by: Bill Fischofer Reviewed-by: Petri Savolainen --- platform/linux-generic/include/api/odp_barrier.h | 4 ++-- platform/linux-generic/odp_barrier.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/linux-generic/include/api/odp_barrier.h b/platform/linux-generic/include/api/odp_barrier.h index fb02a9d..1790ea3 100644 --- a/platform/linux-generic/include/api/odp_barrier.h +++ b/platform/linux-generic/include/api/odp_barrier.h @@ -42,7 +42,7 @@ typedef struct odp_barrier_t { * @param barrier Barrier * @param count Thread count */ -void odp_barrier_init_count(odp_barrier_t *barrier, int count); +void odp_barrier_init(odp_barrier_t *barrier, int count); /** @@ -50,7 +50,7 @@ void odp_barrier_init_count(odp_barrier_t *barrier, int count); * * @param barrier Barrier */ -void odp_barrier_sync(odp_barrier_t *barrier); +void odp_barrier_wait(odp_barrier_t *barrier); /** * @} diff --git a/platform/linux-generic/odp_barrier.c b/platform/linux-generic/odp_barrier.c index f4a87c8..87be2a1 100644 --- a/platform/linux-generic/odp_barrier.c +++ b/platform/linux-generic/odp_barrier.c @@ -8,7 +8,7 @@ #include #include -void odp_barrier_init_count(odp_barrier_t *barrier, int count) +void odp_barrier_init(odp_barrier_t *barrier, int count) { barrier->count = count; barrier->bar = 0; @@ -28,7 +28,7 @@ void odp_barrier_init_count(odp_barrier_t *barrier, int count) * barrier crosses to the other half of the cycle. */ -void odp_barrier_sync(odp_barrier_t *barrier) +void odp_barrier_wait(odp_barrier_t *barrier) { uint32_t count; int wasless;