aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stubs.go
diff options
context:
space:
mode:
authorHiroshi Ioka <hirochachacha@gmail.com>2017-07-25 21:44:11 +0900
committerIan Lance Taylor <iant@golang.org>2017-08-11 05:08:44 +0000
commite9348ab4e9c8c189036ef405d73528ca50a6f785 (patch)
tree4d5568976b46967ad1316271323c1dbe470c4be2 /src/runtime/stubs.go
parent320b6fef1840c14778587bfd5aeadd1f48bb5ed7 (diff)
downloadgo-e9348ab4e9c8c189036ef405d73528ca50a6f785.tar.gz
go-e9348ab4e9c8c189036ef405d73528ca50a6f785.zip
runtime: move mincore from stubs.go to os_linux.go
Although mincore is declared in stubs.go, mincore isn't used by any OSes except linux. Move it to os_linux.go and clean up unused code. Change-Id: I6cfb0fed85c0317a4d091a2722ac55fa79fc7c9a Reviewed-on: https://go-review.googlesource.com/54910 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/stubs.go')
-rw-r--r--src/runtime/stubs.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/stubs.go b/src/runtime/stubs.go
index d9a7aa0966..e1f43a5cf0 100644
--- a/src/runtime/stubs.go
+++ b/src/runtime/stubs.go
@@ -131,7 +131,6 @@ func noescape(p unsafe.Pointer) unsafe.Pointer {
func cgocallback(fn, frame unsafe.Pointer, framesize, ctxt uintptr)
func gogo(buf *gobuf)
func gosave(buf *gobuf)
-func mincore(addr unsafe.Pointer, n uintptr, dst *byte) int32
//go:noescape
func jmpdefer(fv *funcval, argp uintptr)