Date: Fri, 14 Dec 2018 10:45:46 +0000 (UTC) From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r342078 - stable/11/sys/arm/include Message-ID: <201812141045.wBEAjkv7072837@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmel Date: Fri Dec 14 10:45:46 2018 New Revision: 342078 URL: https://svnweb.freebsd.org/changeset/base/342078 Log: MFC r341679: Fix cut&paste typo in atomic_fetchadd_64(). Modified: stable/11/sys/arm/include/atomic-v6.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/arm/include/atomic-v6.h ============================================================================== --- stable/11/sys/arm/include/atomic-v6.h Fri Dec 14 10:30:09 2018 (r342077) +++ stable/11/sys/arm/include/atomic-v6.h Fri Dec 14 10:45:46 2018 (r342078) @@ -435,7 +435,7 @@ atomic_fetchadd_64(volatile uint64_t *p, uint64_t val) __asm __volatile( "1: \n" - " ldrexd %Q[tmp], %R[tmp], [%[ptr]] \n" + " ldrexd %Q[ret], %R[ret], [%[ptr]] \n" " adds %Q[tmp], %Q[ret], %Q[val] \n" " adc %R[tmp], %R[ret], %R[val] \n" " strexd %[exf], %Q[tmp], %R[tmp], [%[ptr]] \n"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812141045.wBEAjkv7072837>