Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: fusl/arch/aarch64/atomic_arch.h

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/BUILD.gn ('k') | fusl/arch/aarch64/bits/errno.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/arch/aarch64/atomic_arch.h
diff --git a/fusl/arch/aarch64/atomic_arch.h b/fusl/arch/aarch64/atomic_arch.h
index 6b4f1a4d659fef383047d573c3050cce560e234c..af93d879d2adbe4d900fb8a48d776de8c30513b6 100644
--- a/fusl/arch/aarch64/atomic_arch.h
+++ b/fusl/arch/aarch64/atomic_arch.h
@@ -10,7 +10,7 @@ static inline int a_ll(volatile int *p)
static inline int a_sc(volatile int *p, int v)
{
int r;
- __asm__ __volatile__ ("stlxr %w0,%w1,%2" : "=&r"(r) : "r"(v), "Q"(*p) : "memory");
+ __asm__ __volatile__ ("stlxr %w0,%w2,%1" : "=&r"(r), "=Q"(*p) : "r"(v) : "memory");
return !r;
}
@@ -44,7 +44,7 @@ static inline void *a_ll_p(volatile void *p)
static inline int a_sc_p(volatile int *p, void *v)
{
int r;
- __asm__ __volatile__ ("stlxr %w0,%1,%2" : "=&r"(r) : "r"(v), "Q"(*(void *volatile *)p) : "memory");
+ __asm__ __volatile__ ("stlxr %w0,%2,%1" : "=&r"(r), "=Q"(*(void *volatile *)p) : "r"(v) : "memory");
return !r;
}
« no previous file with comments | « fusl/BUILD.gn ('k') | fusl/arch/aarch64/bits/errno.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698