]> Cypherpunks repositories - gostls13.git/commit
runtime: move mincore from stubs.go to os_linux.go
authorHiroshi Ioka <hirochachacha@gmail.com>
Tue, 25 Jul 2017 12:44:11 +0000 (21:44 +0900)
committerIan Lance Taylor <iant@golang.org>
Fri, 11 Aug 2017 05:08:44 +0000 (05:08 +0000)
commite9348ab4e9c8c189036ef405d73528ca50a6f785
tree4d5568976b46967ad1316271323c1dbe470c4be2
parent320b6fef1840c14778587bfd5aeadd1f48bb5ed7
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>
src/runtime/os_linux.go
src/runtime/stubs.go
src/runtime/sys_darwin_arm.s
src/runtime/sys_darwin_arm64.s