diff options
author | Adin Scannell <ascannell@google.com> | 2023-02-08 19:15:23 +0000 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-02-09 01:06:51 +0000 |
commit | 8fb9565832e6dbacaaa057ffabc251a9341f8d23 (patch) | |
tree | d461ccb743074c832b58a1fbbcbf4b66b62276fe /src/sync | |
parent | 910f041ff0cdf90dbcd3bd22a272b9b7205a5add (diff) | |
download | go-git-8fb9565832e6dbacaaa057ffabc251a9341f8d23.tar.gz |
runtime: fix signature for linked functions
These functions are linked using go:linkname, but do not match the
original declarations. This change brings these in sync.
Change-Id: I16651304c3dba2f9897c2c42e30555d2f7805c2a
Reviewed-on: https://go-review.googlesource.com/c/go/+/466615
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/sync')
-rw-r--r-- | src/sync/atomic/value.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/atomic/value.go b/src/sync/atomic/value.go index 8c491b4616..a57b08a6b8 100644 --- a/src/sync/atomic/value.go +++ b/src/sync/atomic/value.go @@ -190,5 +190,5 @@ func (v *Value) CompareAndSwap(old, new any) (swapped bool) { } // Disable/enable preemption, implemented in runtime. -func runtime_procPin() +func runtime_procPin() int func runtime_procUnpin() |