From 4c2b1e0feb3d3112da94fa4cd11ebe995003fa89 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Thu, 1 Feb 2024 10:21:14 +0800 Subject: runtime: migrate internal/atomic to internal/runtime For #65355 Change-Id: I65dd090fb99de9b231af2112c5ccb0eb635db2be Reviewed-on: https://go-review.googlesource.com/c/go/+/560155 Reviewed-by: David Chase Reviewed-by: Michael Pratt LUCI-TryBot-Result: Go LUCI Reviewed-by: Ibrahim Bazoka Auto-Submit: Emmanuel Odeke --- src/sync/pool.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sync/pool.go') diff --git a/src/sync/pool.go b/src/sync/pool.go index e094849974..9214bf6e34 100644 --- a/src/sync/pool.go +++ b/src/sync/pool.go @@ -295,12 +295,12 @@ func runtime_registerPoolCleanup(cleanup func()) func runtime_procPin() int func runtime_procUnpin() -// The below are implemented in runtime/internal/atomic and the +// The below are implemented in internal/runtime/atomic and the // compiler also knows to intrinsify the symbol we linkname into this // package. -//go:linkname runtime_LoadAcquintptr runtime/internal/atomic.LoadAcquintptr +//go:linkname runtime_LoadAcquintptr internal/runtime/atomic.LoadAcquintptr func runtime_LoadAcquintptr(ptr *uintptr) uintptr -//go:linkname runtime_StoreReluintptr runtime/internal/atomic.StoreReluintptr +//go:linkname runtime_StoreReluintptr internal/runtime/atomic.StoreReluintptr func runtime_StoreReluintptr(ptr *uintptr, val uintptr) uintptr -- cgit v1.3-5-g9baa