projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8a9c90
)
fix build error on arm due to new a_spin code
author
Rich Felker
<dalias@aerifal.cx>
Mon, 25 Aug 2014 20:37:13 +0000
(16:37 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 25 Aug 2014 20:37:13 +0000
(16:37 -0400)
this was broken by commit
ea818ea8340c13742a4f41e6077f732291aea4bc
.
arch/arm/atomic.h
patch
|
blob
|
history
diff --git
a/arch/arm/atomic.h
b/arch/arm/atomic.h
index 521035423e7de0f3557972be8c2ccbd7815fd84c..738f528c6316fffa24d141578ccd7eeebdb80ca8 100644
(file)
--- a/
arch/arm/atomic.h
+++ b/
arch/arm/atomic.h
@@
-103,7
+103,7
@@
static inline void a_store(volatile int *p, int x)
static inline void a_spin()
{
- __k_cas(
&(int){0}, 0, 0)
);
+ __k_cas(
0, 0, &(int){0}
);
}
static inline void a_crash()