From patchwork Fri May 13 15:04:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rizwan Ansari X-Patchwork-Id: 67790 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp315664qge; Fri, 13 May 2016 08:04:56 -0700 (PDT) X-Received: by 10.140.91.194 with SMTP id z60mr15720895qgd.70.1463151896011; Fri, 13 May 2016 08:04:56 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v63si12273725qhc.83.2016.05.13.08.04.55; Fri, 13 May 2016 08:04:55 -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 9842161655; Fri, 13 May 2016 15:04:55 +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.8 required=5.0 tests=BAYES_00, 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 6211A6157E; Fri, 13 May 2016 15:04:51 +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 A80D7615DA; Fri, 13 May 2016 15:04:49 +0000 (UTC) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by lists.linaro.org (Postfix) with ESMTPS id C72CF6156C for ; Fri, 13 May 2016 15:04:48 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id bt5so41319553pac.3 for ; Fri, 13 May 2016 08:04:48 -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=JiLK7feWzaUUzJl+HX4aD/oILsIxt1+REmt8qx+EN/ubtXzHeznC56OntbSasYa/an IQZaaD9x3b99JJLkbOH0zhzLrAfbF6QZ9fByuFUaAOK1KLUuHg4vpRqTHBInLT1SNtN0 9irHnYaMyvoPvELtLi31F1eyAr1IhEFNe55Knn9hqHgVTAhQ+WriovZPi6MapRs5oOTH LF0zQHJWgf7uXNbCK3dmivBCdoaXFuD1t9n6VLUYz9KOmegVomWC791xESbU3NwUMbtQ a6KsUoaYISlPmo0sTanmBVuAmrq5OsBK6j/nP1smIGSPRJNCNr8N8oU/UimBUYTeSrOE pBWg== X-Gm-Message-State: AOPr4FXHLHZ4vpZkqIkg+vyRT2jLG8S2Io9rZZZJ9jG/UVq6IzVVwBuVQi+H8wj9yV6J/ecys0U= X-Received: by 10.66.132.72 with SMTP id os8mr23901278pab.63.1463151888085; Fri, 13 May 2016 08:04:48 -0700 (PDT) Received: from localhost.localdomain.com ([111.93.218.67]) by smtp.gmail.com with ESMTPSA id g27sm28211735pfd.25.2016.05.13.08.04.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 May 2016 08:04:47 -0700 (PDT) From: Rizwan Ansari To: lng-odp@lists.linaro.org Date: Fri, 13 May 2016 20:34:26 +0530 Message-Id: <1463151866-29888-1-git-send-email-rizwan.ansari@linaro.org> X-Mailer: git-send-email 2.5.5 X-Topics: patch Subject: [lng-odp] [ODP/PATCH] api: sync: remove odp_sync_stores call under 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 --- 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)