summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/epoll_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/epoll_arm64.go')
-rw-r--r--pkg/abi/linux/epoll_arm64.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/abi/linux/epoll_arm64.go b/pkg/abi/linux/epoll_arm64.go
index f86c35329..a35939cc9 100644
--- a/pkg/abi/linux/epoll_arm64.go
+++ b/pkg/abi/linux/epoll_arm64.go
@@ -12,11 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build arm64
+
package linux
// EpollEvent is equivalent to struct epoll_event from epoll(2).
//
-// +marshal
+// +marshal slice:EpollEventSlice
type EpollEvent struct {
Events uint32
// Linux makes struct epoll_event a __u64, necessitating 4 bytes of padding