]> git.ipfire.org Git - thirdparty/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)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 23:31:43 +0000 (18:31 -0500)
Signed-off-by: James Cowgill <james410@cowgill.org.uk>
src/lxc/utils.h

index 11a8cc5c3b6babf986bd9849fe71656fcedf8f2c..6ce68954e1cf972592c2bf99d176095118bc281d 100644 (file)
@@ -116,6 +116,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
 
@@ -131,6 +137,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