]> git.proxmox.com Git - mirror_lxc.git/commitdiff
utils: Add mips signalfd syscall numbers
authorJames Cowgill <james410@cowgill.org.uk>
Fri, 12 Aug 2016 15:54:14 +0000 (15:54 +0000)
committerJames Cowgill <james410@cowgill.org.uk>
Thu, 18 Aug 2016 15:49:05 +0000 (16:49 +0100)
Signed-off-by: James Cowgill <james410@cowgill.org.uk>
src/lxc/utils.h

index b541e07ec29c2791417662e68379315b8f4362b0..98b4e1374f877d7b4d9dff2f8a34a598e4ecc7b6 100644 (file)
@@ -117,6 +117,12 @@ struct signalfd_siginfo
 #      define __NR_signalfd4 322
 #    elif __arm__
 #      define __NR_signalfd4 355
+#    elif __mips__ && _MIPS_SIM == _ABIO32
+#      define __NR_signalfd4 4324
+#    elif __mips__ && _MIPS_SIM == _ABI64
+#      define __NR_signalfd4 5283
+#    elif __mips__ && _MIPS_SIM == _ABIN32
+#      define __NR_signalfd4 6287
 #    endif
 #endif
 
@@ -132,6 +138,12 @@ struct signalfd_siginfo
 #      define __NR_signalfd 316
 #    elif __arm__
 #      define __NR_signalfd 349
+#    elif __mips__ && _MIPS_SIM == _ABIO32
+#      define __NR_signalfd 4317
+#    elif __mips__ && _MIPS_SIM == _ABI64
+#      define __NR_signalfd 5276
+#    elif __mips__ && _MIPS_SIM == _ABIN32
+#      define __NR_signalfd 6280
 #    endif
 #endif