Commit 5f3eb432 authored by Michael Munday's avatar Michael Munday

syscall: add a padding field to EpollEvent on s390x

Fixes #16021.

Change-Id: I55df38bbccd2641abcb54704115002a9aa04325d
Reviewed-on: https://go-review.googlesource.com/23962
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 8042bfe3
......@@ -117,7 +117,7 @@ struct my_epoll_event {
// alignment requirements of EABI
int32_t padFd;
#endif
#ifdef __powerpc64__
#if defined(__powerpc64__) || defined(__s390x__)
int32_t _padFd;
#endif
int32_t fd;
......
......@@ -588,6 +588,7 @@ type Ustat_t struct {
type EpollEvent struct {
Events uint32
_ int32
Fd int32
Pad int32
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment