From owner-p4-projects@FreeBSD.ORG Thu Oct 13 17:29:18 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8AF4516A421; Thu, 13 Oct 2005 17:29:17 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D5F716A41F for ; Thu, 13 Oct 2005 17:29:17 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 077CA43D45 for ; Thu, 13 Oct 2005 17:29:17 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9DHTG9X067575 for ; Thu, 13 Oct 2005 17:29:16 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9DHTGx3067572 for perforce@freebsd.org; Thu, 13 Oct 2005 17:29:16 GMT (envelope-from jhb@freebsd.org) Date: Thu, 13 Oct 2005 17:29:16 GMT Message-Id: <200510131729.j9DHTGx3067572@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin To: Perforce Change Reviews Cc: Subject: PERFORCE change 85222 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 17:29:18 -0000 http://perforce.freebsd.org/chv.cgi?CH=85222 Change 85222 by jhb@jhb_slimer on 2005/10/13 17:28:30 EGCCTOOSTUPID. Reported by: cognet Affected files ... .. //depot/projects/smpng/sys/arm/include/atomic.h#20 edit Differences ... ==== //depot/projects/smpng/sys/arm/include/atomic.h#20 (text+ko) ==== @@ -77,9 +77,9 @@ static __inline uint32_t __swp(uint32_t val, volatile uint32_t *ptr) { - __asm __volatile("swp %0, %2, %1" + __asm __volatile("swp %0, %2, [%3]" : "=&r" (val), "=m" (*ptr) - : "r" (val) , "m" (*ptr) + : "r" (val), "r" (ptr), "m" (*ptr) : "memory"); return (val); }