7c572f1673
Due to an invalid architecture name (arm64), containerd could not build on aarch64 machines. Fix this by using the correct name of the architecture for conditional building. Signed-off-by: Aleksa Sarai <asarai@suse.de>
19 lines
400 B
Go
19 lines
400 B
Go
// +build linux,!aarch64
|
|
|
|
package archutils
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func EpollCreate1(flag int) (int, error) {
|
|
return syscall.EpollCreate1(flag)
|
|
}
|
|
|
|
func EpollCtl(epfd int, op int, fd int, event *syscall.EpollEvent) error {
|
|
return syscall.EpollCtl(epfd, op, fd, event)
|
|
}
|
|
|
|
func EpollWait(epfd int, events []syscall.EpollEvent, msec int) (int, error) {
|
|
return syscall.EpollWait(epfd, events, msec)
|
|
}
|