Date: Fri, 7 Dec 2018 11:10:27 +0000 (UTC) From: Michal Meloun <mmel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r341679 - head/sys/arm/include Message-ID: <201812071110.wB7BARkO007451@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmel Date: Fri Dec 7 11:10:27 2018 New Revision: 341679 URL: https://svnweb.freebsd.org/changeset/base/341679 Log: Fix cut&paste typo in atomic_fetchadd_64(). Reported by: Jia-Shiun Li <jiashiun@gmail.com> MFC after: 1 week Modified: head/sys/arm/include/atomic-v6.h Modified: head/sys/arm/include/atomic-v6.h ============================================================================== --- head/sys/arm/include/atomic-v6.h Fri Dec 7 09:39:37 2018 (r341678) +++ head/sys/arm/include/atomic-v6.h Fri Dec 7 11:10:27 2018 (r341679) @@ -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?201812071110.wB7BARkO007451>