From: Russ Cox Date: Wed, 22 Jan 2014 21:39:39 +0000 (-0500) Subject: runtime: fix typo in ARM code X-Git-Tag: go1.3beta1~888 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f7245c062668199fcb505de47d694ceaed512394;p=gostls13.git 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 --- 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; } }