]> Cypherpunks repositories - gostls13.git/commit
syscall: resync various riscv64 structs with x/sys/unix
authorJoel Sing <joel@sing.id.au>
Sun, 5 Jan 2020 14:52:19 +0000 (01:52 +1100)
committerTobias Klauser <tobias.klauser@gmail.com>
Mon, 6 Jan 2020 11:46:56 +0000 (11:46 +0000)
commit693748e9fa385f1e2c3b91ca9acbb6c0ad2d133d
treee01a1f8144710e9bdd9c7658feb484b9e47b44a8
parentf9813515c02ac49d350cd3736f8e44cdd5786070
syscall: resync various riscv64 structs with x/sys/unix

For some reason the existing versions have additional padding - manually resync these
structs with those in x/sys/unix, also bringing in pollFd which does not currently
exist for linux/riscv64.

Cross checked with the output from 'go tool cgo -godefs' on a linux/riscv64 machine.

Updates #27532

Change-Id: I9fd2d3ad7222208a138773f4a9153c3c9cad7381
Reviewed-on: https://go-review.googlesource.com/c/go/+/212763
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/syscall/types_linux.go
src/syscall/ztypes_linux_riscv64.go