]> git.ipfire.org Git - thirdparty/gcc.git/commit
runtime: Use atomic load for in entersyscall.
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 2 Apr 2016 00:47:53 +0000 (00:47 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 2 Apr 2016 00:47:53 +0000 (00:47 +0000)
commitbb727032821479aaa585a779b7c1d6c74822e0de
tree5a36e29e7fb33bb94de5f242fe097b031bbc1d4c
parent2e816b993d730e1ea5f7d9203be8dd1038f8574b
runtime: Use atomic load for in entersyscall.

    Reportedly fixes PPC64 deadlock.

    From a comment by Gabriel Russell.

    Fixes golang/go#15051.

    Reviewed-on: https://go-review.googlesource.com/21450

From-SVN: r234694
gcc/go/gofrontend/MERGE
libgo/runtime/proc.c