joyent/libuv — pull request #1474 by mwhudson (2014-09-15 02:35:45+00:00)
Title: uv__epoll_wait: fall back to uv__epoll_pwait

It seems that epoll_wait is implemented in glibc in terms of epoll_pwait and new architectures (like arm64) do not implement the epoll_wait syscall at all. So if __NR_epoll_wait is undefined, we should just call uv__epoll_pwait.