aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-02-24 16:54:13 -0500
committerMichael Pratt <mpratt@google.com>2022-04-21 18:07:14 +0000
commit64e69d3925e2d1f3fb903a2b4f422cf1cbc49ec1 (patch)
treeb3382afe0e529680d4ef4f100fce23f0bc0bd877 /src/runtime/proc.go
parentf7b12ff6fbad25ea30ae9f16dd1443eb9b76766d (diff)
downloadgo-64e69d3925e2d1f3fb903a2b4f422cf1cbc49ec1.tar.gz
go-64e69d3925e2d1f3fb903a2b4f422cf1cbc49ec1.zip
syscall: define Syscall in terms of RawSyscall on linux
For #51087 Change-Id: I9de7e85ccf137ae73662759382334bcbe7208150 Reviewed-on: https://go-review.googlesource.com/c/go/+/388477 Run-TryBot: Michael Pratt <mpratt@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 4535f62053..b281d9f3b8 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -3658,7 +3658,7 @@ func reentersyscall(pc, sp uintptr) {
// Standard syscall entry used by the go syscall library and normal cgo calls.
//
-// This is exported via linkname to assembly in the syscall package.
+// This is exported via linkname to assembly in the syscall package and x/sys.
//
//go:nosplit
//go:linkname entersyscall