define s390x signalfd for systems with headers which are too
old.

Signed-off-by: Serge Hallyn <[email protected]>
---
 src/lxc/start.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/lxc/start.c b/src/lxc/start.c
index 410235c..476d695 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -51,6 +51,8 @@
 #      define __NR_signalfd4 327
 #    elif __x86_64__
 #      define __NR_signalfd4 289
+#    elif __s390x__
+#      define __NR_signalfd4 322
 #    endif
 #endif
 
@@ -60,6 +62,8 @@
 #      define __NR_signalfd 321
 #    elif __x86_64__
 #      define __NR_signalfd 282
+#    elif __s390x__
+#      define __NR_signalfd 316
 #    endif
 #endif
 
-- 
1.6.1.1

_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to