From 8fb9565832e6dbacaaa057ffabc251a9341f8d23 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Wed, 8 Feb 2023 19:15:23 +0000 Subject: 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 Run-TryBot: Michael Pratt TryBot-Result: Gopher Robot Auto-Submit: Michael Pratt --- src/sync/atomic/value.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sync/atomic') 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() -- cgit v1.3