summaryrefslogtreecommitdiff
path: root/libgo/go/runtime/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/runtime.go')
-rw-r--r--libgo/go/runtime/runtime.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/runtime/runtime.go b/libgo/go/runtime/runtime.go
index 23601e1fc66..e63130b1496 100644
--- a/libgo/go/runtime/runtime.go
+++ b/libgo/go/runtime/runtime.go
@@ -58,6 +58,9 @@ var argslice []string
//go:linkname syscall_runtime_envs syscall.runtime_envs
func syscall_runtime_envs() []string { return append([]string{}, envs...) }
+//go:linkname syscall_Getpagesize syscall.Getpagesize
+func syscall_Getpagesize() int { return int(physPageSize) }
+
//go:linkname os_runtime_args os.runtime_args
func os_runtime_args() []string { return append([]string{}, argslice...) }