diff options
| author | Russ Cox <rsc@golang.org> | 2014-01-22 16:39:39 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-01-22 16:39:39 -0500 |
| commit | f7245c062668199fcb505de47d694ceaed512394 (patch) | |
| tree | 57be60a75faa0df192a4f575ac6cd532c724878d /src/pkg | |
| parent | 91fbf6f159a099a273e6880a5fe40351d61270b6 (diff) | |
| download | go-f7245c062668199fcb505de47d694ceaed512394.tar.xz | |
runtime: fix typo in ARM code
The typo was introduced by one of Dmitriy's CLs this morning.
The fix makes the ARM build compile again; it still won't pass
its tests, but one thing at a time.
TBR=dvyukov
CC=golang-codereviews
https://golang.org/cl/55770044
Diffstat (limited to 'src/pkg')
| -rw-r--r-- | src/pkg/runtime/atomic_arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/atomic_arm.c b/src/pkg/runtime/atomic_arm.c index 87e88d7563..d914475c7f 100644 --- a/src/pkg/runtime/atomic_arm.c +++ b/src/pkg/runtime/atomic_arm.c @@ -49,7 +49,7 @@ runtime·xchgp(void* volatile* addr, void* v) for(;;) { old = *addr; - if(runtime·cas(addr, old, v)) + if(runtime·casp(addr, old, v)) return old; } } |
