Fine with me.
Ali

On Sep 24, 2013, at 2:15 PM, "Moore, Branden James" <[email protected]> wrote:

> It appears that Ubuntu and Debian distribution's documentation for the
> 'clone' system call does not quite match up with how their header files
> are actually laid out.   This patch includes linux/sched.h in order to
> properly set the CLONE_* macros needed for the clone system call.
> 
> - Branden
> 
> 
> # HG changeset patch
> # User Branden J. Moore <[email protected]>
> # Date 1380049372 21600
> # Node ID c515685843c2fb791394b4dd591f02219226f37f
> # Parent  61a6de2ff282d3f8213a702768aee45aa9f58490
> pthreads:  Add linux/sched.h header for compatibility with Ubuntu and
> Debian distributions
> 
> diff -r 61a6de2ff282 -r c515685843c2 pthread.c
> --- a/pthread.c Fri Aug 02 14:15:50 2013 -0600
> +++ b/pthread.c Tue Sep 24 13:02:52 2013 -0600
> @@ -27,6 +27,7 @@
> #include <signal.h>
> #include <sys/errno.h>
> #include <sched.h>
> +#include <linux/sched.h>
> #include <sys/mman.h>
> #include <string.h>
> #include <malloc.h>
> 
> 
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
> 

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to