From patchwork Tue May 17 16:12:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rizwan Ansari X-Patchwork-Id: 68001 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp2162523qge; Tue, 17 May 2016 09:12:52 -0700 (PDT) X-Received: by 10.55.171.130 with SMTP id u124mr2652487qke.114.1463501572270; Tue, 17 May 2016 09:12:52 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 134si2730468qkh.103.2016.05.17.09.12.51; Tue, 17 May 2016 09:12:52 -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=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D89BC6173D; Tue, 17 May 2016 16:12:51 +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=-0.5 required=5.0 tests=BAYES_00, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, RCVD_IN_SORBS_WEB, 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 7CFE6616E4; Tue, 17 May 2016 16:12:47 +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 C6FF5616E7; Tue, 17 May 2016 16:12:45 +0000 (UTC) Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by lists.linaro.org (Postfix) with ESMTPS id AE05A616AF for ; Tue, 17 May 2016 16:12:41 +0000 (UTC) Received: by mail-pf0-f178.google.com with SMTP id 77so8326847pfv.2 for ; Tue, 17 May 2016 09:12:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=0bhK8i1nRZVIRDO2g1Zf7sz2erCF+6r0dGtXMgvXPJY=; b=jRd9f21LgnWYSbpB4KMOdpK38hyx73D/SZBx6TZxacffJvOaK+7LcajLfsVIJyr1bc 8Rdc2A8K6TYCSGVySMWAYAzIRVkptkV5SNkoGh9MeXXkS8swscikuiPqqBzCv2FWaKIM Y6TPpEGP+wgN6NvcMcruAk2qkCi20nIheLqd1Ya2dyi6ZO+HbfIe69q0LRdYvBDX8F4T zzvDxMWJM3JQkG2o/qCCl9/UGYVcalGYn6So3ZF1U1Lj6/kxgIrbO+WQOxqA1ZK6mvNK p9lpkkuZ0t7OS1ejN4OHalu031DMcHjiCKYev1BlGpGc1+XxBxFGpB9i0IAp/gpoWzbn T2+Q== X-Gm-Message-State: AOPr4FX+MVCwHaF0HGwqilsRqbyIvB59Z3PKWlsWE9Z6X0Lta6PUaWJgwWCr8EFrrDMF9I9d1io= X-Received: by 10.98.3.135 with SMTP id 129mr3261038pfd.42.1463501561022; Tue, 17 May 2016 09:12:41 -0700 (PDT) Received: from localhost.localdomain.com ([111.93.218.67]) by smtp.gmail.com with ESMTPSA id e7sm5887482pfa.28.2016.05.17.09.12.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 May 2016 09:12:40 -0700 (PDT) From: Rizwan Ansari To: lng-odp@lists.linaro.org Date: Tue, 17 May 2016 21:42:29 +0530 Message-Id: <1463501549-12191-1-git-send-email-rizwan.ansari@linaro.org> X-Mailer: git-send-email 2.5.5 X-Topics: patch Subject: [lng-odp] [ODP/PATCH] linux-generic: ticketlock: remove odp_sync_stores for octeon 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: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Removes odp_sync_stores() call for OCTEON, Octeon build will fail, As this api has been already replaced by odp_mb_full(). Signed-off-by: Rizwan Ansari Reviewed-by: Petri Savolainen Reviewed-by: Balasubramanian Manoharan --- platform/linux-generic/odp_ticketlock.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/linux-generic/odp_ticketlock.c b/platform/linux-generic/odp_ticketlock.c index 7b4246f..353af9a 100644 --- a/platform/linux-generic/odp_ticketlock.c +++ b/platform/linux-generic/odp_ticketlock.c @@ -69,9 +69,6 @@ void odp_ticketlock_unlock(odp_ticketlock_t *ticketlock) odp_atomic_store_rel_u32(&ticketlock->cur_ticket, cur + 1); -#if defined __OCTEON__ - odp_sync_stores(); /* SYNCW to flush write buffer */ -#endif } int odp_ticketlock_is_locked(odp_ticketlock_t *ticketlock)