Commit graph

6 commits

Author SHA1 Message Date
Aleksa Sarai
7c572f1673 archutils: fix build on aarch64
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>
2016-04-17 12:38:05 +10:00
Aleksa Sarai
1e617aaab4 archutils: epoll_aarch64: fix C formatting
Use proper C formatting to make the cgo code much easier to read. Also
remove the pointless typedef.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2016-04-17 12:38:05 +10:00
Michael Crosby
21364997bb Merge pull request #192 from hqhq/hq_epool_flag
Use flag for aarch64 EpollCreate1
2016-04-15 13:56:32 -07:00
Lei Jitang
6f8b5c2a39 Rename epoll_amd64.go to epoll.go
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2016-04-13 02:02:40 -04:00
Qiang Huang
e419be223f Use flag for aarch64 EpollCreate1
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2016-04-11 15:01:36 +08:00
Lei Jitang
6299489d03 move epoll syscall to arch specific to enable containerd run on arm64
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2016-04-05 23:17:30 -04:00