aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-sys-syscall/ppc64le_epoll.patch
blob: 4f2174c825677a4afaca3d963607f7bc48afb3d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/Sys/Syscall.pm
+++ b/lib/Sys/Syscall.pm
@@ -65,7 +65,7 @@
         $SYS_epoll_wait   = 232;
         $SYS_sendfile     =  40;
         $SYS_readahead    = 187;
-    } elsif ($machine eq "ppc64") {
+    } elsif ($machine =~ m/^ppc64/) {
         $SYS_epoll_create = 236;
         $SYS_epoll_ctl    = 237;
         $SYS_epoll_wait   = 238;