From f53b5916521a32e58e48df8ae1fce9c30cea3a99 Mon Sep 17 00:00:00 2001 From: James Cowgill Date: Fri, 12 Aug 2016 15:54:14 +0000 Subject: [PATCH] utils: Add mips signalfd syscall numbers Signed-off-by: James Cowgill --- src/lxc/utils.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lxc/utils.h b/src/lxc/utils.h index b541e07ec..98b4e1374 100644 --- a/src/lxc/utils.h +++ b/src/lxc/utils.h @@ -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