Message ID | 1399060067-22104-4-git-send-email-anders.roxell@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBD5JHFX53YCBBDPNR6NQKGQEXGEOQ6Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F1301202E7 for <linaro@patches.linaro.org>; Fri, 2 May 2014 19:48:30 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id hz1sf23934959pad.8 for <linaro@patches.linaro.org>; Fri, 02 May 2014 12:48:30 -0700 (PDT) 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=eIBz8BBH/OPQuuJCJQKFXRQQa/XDohKCbfyUS6DP8M4=; b=j9dN2UL1B/RIvTtIkjgbtmGLVLX/bIWCYUrcy3dhDTdZoUQZDINAvjCbYgHun75lIy OeFJF+UVaRsknt5K3ccyubzrmuuFJrHgrWWNQW2B+kMjKsP+SDuYnjcDcOjMV5Zwt9xa OQKlt4QlPnjGBXIjR7ZoaftJFW1np0IfkzOjqV42qBZQrLe3pgaC3uUYwkvNVCsBeugn dsUFcOt4y7mUql351Qd+3Y9n5z1LBI1Zx93Cl+isUpfVTIWmuwohFywumtLfTuiklySs lJfT51NAzuCDjwNOdK5ny00q/6CjtdnOY7L4GNZAvQ+kJTN+dpK/t7Mxm6aY4gUSfAUo 6lGw== X-Gm-Message-State: ALoCoQkZGYatBVQuAU8ON+iCPy55LJW7sYrm1vmhNwcxGd2saa/PP+vedF+tqkF/afPibROfXHuW X-Received: by 10.66.156.66 with SMTP id wc2mr11023785pab.23.1399060109958; Fri, 02 May 2014 12:48:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.39.37 with SMTP id u34ls155749qgu.4.gmail; Fri, 02 May 2014 12:48:29 -0700 (PDT) X-Received: by 10.58.134.101 with SMTP id pj5mr1076851veb.38.1399060109800; Fri, 02 May 2014 12:48:29 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id lz6si6946042vcb.31.2014.05.02.12.48.29 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 02 May 2014 12:48:29 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jy13so5908724veb.31 for <patchwork-forward@linaro.org>; Fri, 02 May 2014 12:48:29 -0700 (PDT) X-Received: by 10.52.229.197 with SMTP id ss5mr6349vdc.83.1399060109716; Fri, 02 May 2014 12:48:29 -0700 (PDT) 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.220.221.72 with SMTP id ib8csp127502vcb; Fri, 2 May 2014 12:48:29 -0700 (PDT) X-Received: by 10.140.81.48 with SMTP id e45mr23629571qgd.99.1399060109131; Fri, 02 May 2014 12:48:29 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id l5si14539951qai.146.2014.05.02.12.48.28 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 02 May 2014 12:48:29 -0700 (PDT) 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-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <lng-odp-bounces@lists.linaro.org>) id 1WgJR3-0006oV-UR; Fri, 02 May 2014 19:47:53 +0000 Received: from mail-lb0-f181.google.com ([209.85.217.181]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <anders.roxell@linaro.org>) id 1WgJQn-0006nD-DZ for lng-odp@lists.linaro.org; Fri, 02 May 2014 19:47:37 +0000 Received: by mail-lb0-f181.google.com with SMTP id z11so3611315lbi.12 for <lng-odp@lists.linaro.org>; Fri, 02 May 2014 12:48:05 -0700 (PDT) X-Received: by 10.113.3.167 with SMTP id bx7mr46928lbd.64.1399060085642; Fri, 02 May 2014 12:48:05 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id cr6sm34806531lbb.19.2014.05.02.12.48.04 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 02 May 2014 12:48:04 -0700 (PDT) From: Anders Roxell <anders.roxell@linaro.org> To: lng-odp@lists.linaro.org Date: Fri, 2 May 2014 21:47:46 +0200 Message-Id: <1399060067-22104-4-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1399060067-22104-1-git-send-email-anders.roxell@linaro.org> References: <1399060067-22104-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 3/4] include/*: asm compatible with -std=c99 X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=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: anders.roxell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/include/odp_atomic.h b/include/odp_atomic.h index 763436a..630b8bc 100644 --- a/include/odp_atomic.h +++ b/include/odp_atomic.h @@ -230,8 +230,9 @@ static inline uint32_t odp_atomic_fetch_inc_u32(odp_atomic_u32_t *ptr) { uint32_t ret; - asm __volatile__ ("syncws"); - asm __volatile__ ("lai %0,(%2)" : "=r" (ret), "+m" (ptr) : "r" (ptr)); + __asm__ __volatile__ ("syncws"); + __asm__ __volatile__ ("lai %0,(%2)" : "=r" (ret), "+m" (ptr) : + "r" (ptr)); return ret; }
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> --- include/odp_atomic.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)