]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Add powerpc signalfd syscall numbers
authorMatt Helsley <matthltc@us.ibm.com>
Fri, 20 Mar 2009 05:44:20 +0000 (22:44 -0700)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 20 Mar 2009 10:51:46 +0000 (11:51 +0100)
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@us.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/start.c

index 476d6956e20a17e9a44563839a4269a4357371b6..051e70c2463e0e3fc3b67d201df917ed95394820 100644 (file)
@@ -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