All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add powerpc signalfd syscall numbers
@ 2009-03-20  5:44 Matt Helsley
       [not found] ` <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Matt Helsley @ 2009-03-20  5:44 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: Containers, LXC Tools

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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-25 13:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-20  5:44 [PATCH] Add powerpc signalfd syscall numbers Matt Helsley
     [not found] ` <20090320054420.GB26719-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-03-20  6:09   ` Matt Helsley
     [not found]     ` <20090320060903.GA4360-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-03-20 13:35       ` Daniel Lezcano
     [not found]         ` <49C39BA9.5090404-GANU6spQydw@public.gmane.org>
2009-03-25 12:03           ` Eric W. Biederman
     [not found]             ` <m1iqlxx11n.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org>
2009-03-25 12:19               ` Daniel Lezcano
     [not found]                 ` <49CA214B.1090301-GANU6spQydw@public.gmane.org>
2009-03-25 12:36                   ` Eric W. Biederman
     [not found]                     ` <m1tz5hvkxo.fsf-+imSwln9KH6u2/kzUuoCbdi2O/JbrIOy@public.gmane.org>
2009-03-25 13:00                       ` Daniel Lezcano
2009-03-20 15:32   ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.