]> Cypherpunks repositories - gostls13.git/commit
runtime, sync/atomic: fix arm cas
authorRuss Cox <rsc@golang.org>
Mon, 2 May 2011 14:49:19 +0000 (10:49 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 2 May 2011 14:49:19 +0000 (10:49 -0400)
commit540feaae470ad4cf838b0c1bd5a74bdde096a082
treeb040a35d8058d0ff0da3078bdbeb3a942872b161
parent807ce2719c243f6d8640de774599e3335883eacb
runtime, sync/atomic: fix arm cas

Works around bug in kernel implementation on old ARM5 kernels.
Bug was fixed on 26 Nov 2007 (between 2.6.23 and 2.6.24) but
old kernels persist.

Fixes #1750.

R=dfc, golang-dev
CC=golang-dev
https://golang.org/cl/4436072
src/pkg/runtime/linux/arm/sys.s
src/pkg/sync/atomic/asm_linux_arm.s