]> Cypherpunks repositories - gostls13.git/commit
runtime: handle syscalls without g or m for aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Wed, 20 Feb 2019 15:01:22 +0000 (16:01 +0100)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Mar 2019 20:55:00 +0000 (20:55 +0000)
commit8bad008cf50e64a7615d9dbd7aaa236eb727301e
treec11ec895d00f45833a3b6e187a4844a2ddee0feb
parent340129e4c8c56a371859b7434de89478610cab81
runtime: handle syscalls without g or m for aix/ppc64

With cgo, some syscalls will be called with g == nil or m == nil.
SyscallX functions cannot handle them so they call an equivalent
function in sys_aix_ppc64.s which will directly call this syscall.

Change-Id: I6508ec772b304111330e6833e7db729200af547c
Reviewed-on: https://go-review.googlesource.com/c/go/+/164001
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/os2_aix.go
src/runtime/sys_aix_ppc64.s