summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/epoll_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux/epoll_amd64.go')
-rwxr-xr-xpkg/abi/linux/epoll_amd64.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/abi/linux/epoll_amd64.go b/pkg/abi/linux/epoll_amd64.go
index 34ff18009..7e74b1143 100755
--- a/pkg/abi/linux/epoll_amd64.go
+++ b/pkg/abi/linux/epoll_amd64.go
@@ -12,11 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+// +build amd64
+
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::data a __u64. We represent it as