[Devel] [PATCH] Add powerpc signalfd syscall numbers
Matt Helsley
matthltc at us.ibm.com
Thu Mar 19 22:44:20 PDT 2009
Add signalfd and signalfd4 syscall number definitions for powerpc so
that we may compile even with older platform headers.
Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
diff --git a/src/lxc/start.c b/src/lxc/start.c
index 476d695..051e70c 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 __powerpc__
+# define __NR_signalfd4 313
# elif __s390x__
# define __NR_signalfd4 322
# endif
@@ -62,6 +64,8 @@
# define __NR_signalfd 321
# elif __x86_64__
# define __NR_signalfd 282
+# elif __powerpc__
+# define __NR_signalfd 305
# elif __s390x__
# define __NR_signalfd 316
# endif
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list