Message ID | 1398428077-32199-4-git-send-email-anders.roxell@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBD5JHFX53YCBB4VD5GNAKGQEIVCVKZY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 996BB203AC for <linaro@patches.linaro.org>; Fri, 25 Apr 2014 12:15:46 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id gq1sf21366656obb.6 for <linaro@patches.linaro.org>; Fri, 25 Apr 2014 05:15:46 -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=BQcp01n0rrbjAfTe2oogx6gB7dCl7+Clz6erV1eY1AA=; b=HVEeDpNyyu7gYrm3bv783HwHCAogUbkcE2z2oQrUGpvJj7+KnAMbZHQRBE7oyhoYAH iGBhh4Wkn/1ZqeO8GD8yT1EdZG5ZGiOWMvXFWTwP0gl+r5o/sfWImoF+1ziny5R4ReCP v1NTlSW7v1Tg45Do2RW4xKYRQwUvy5MkEx/Gv6TG4PPIdmI2O6QPUzcBj4HpHvTHuGAx 68A/HAcapNN6gGL8KHLu1ZQbnGr9H0ePGLPpFgcpA5iH1O5j+Bp7Echkopnbinpt4MU2 IHa63JYSkW9lE7V83Rb72LodMtDGsPZGWP0De+KQ/6Cirhe5QdhgJJknCqdMQMHSGbIf 9/0A== X-Gm-Message-State: ALoCoQmDD07Z71psx7drQfXWr21+crofqz09Zv+Ld9rc6mW7hfASGbvwQ5262gkqDBkYdiVuSNn+ X-Received: by 10.42.20.197 with SMTP id h5mr3951846icb.33.1398428146035; Fri, 25 Apr 2014 05:15:46 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.20.22 with SMTP id 22ls1535852qgi.63.gmail; Fri, 25 Apr 2014 05:15:45 -0700 (PDT) X-Received: by 10.220.163.3 with SMTP id y3mr6571729vcx.7.1398428145896; Fri, 25 Apr 2014 05:15:45 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id sc12si1653642veb.133.2014.04.25.05.15.45 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Apr 2014 05:15:45 -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.220.176; Received: by mail-vc0-f176.google.com with SMTP id lc6so4627985vcb.35 for <patchwork-forward@linaro.org>; Fri, 25 Apr 2014 05:15:45 -0700 (PDT) X-Received: by 10.52.241.106 with SMTP id wh10mr5505891vdc.16.1398428145829; Fri, 25 Apr 2014 05:15:45 -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 ib8csp93007vcb; Fri, 25 Apr 2014 05:15:45 -0700 (PDT) X-Received: by 10.140.86.178 with SMTP id p47mr10303615qgd.66.1398428145228; Fri, 25 Apr 2014 05:15:45 -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 t17si3740457qge.132.2014.04.25.05.15.44 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 25 Apr 2014 05:15:45 -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 1Wdf2G-0006gx-NA; Fri, 25 Apr 2014 12:15:20 +0000 Received: from mail-la0-f54.google.com ([209.85.215.54]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <anders.roxell@linaro.org>) id 1Wdf20-0006cd-Sz for lng-odp@lists.linaro.org; Fri, 25 Apr 2014 12:15:05 +0000 Received: by mail-la0-f54.google.com with SMTP id e16so2769288lan.27 for <lng-odp@lists.linaro.org>; Fri, 25 Apr 2014 05:15:22 -0700 (PDT) X-Received: by 10.152.7.8 with SMTP id f8mr1223916laa.39.1398428122551; Fri, 25 Apr 2014 05:15:22 -0700 (PDT) Received: from localhost (c-853670d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.54.133]) by mx.google.com with ESMTPSA id dl4sm7969704lbc.4.2014.04.25.05.15.21 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Apr 2014 05:15:21 -0700 (PDT) From: Anders Roxell <anders.roxell@linaro.org> To: lng-odp@lists.linaro.org Date: Fri, 25 Apr 2014 14:14:36 +0200 Message-Id: <1398428077-32199-4-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398428077-32199-1-git-send-email-anders.roxell@linaro.org> References: <1398428077-32199-1-git-send-email-anders.roxell@linaro.org> Subject: [lng-odp] [PATCH 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(-)