Re: Robust Futex update

From: Ingo Molnar
Date: Fri Oct 14 2005 - 00:45:17 EST



* David Singleton <dsingleton@xxxxxxxxxx> wrote:

> Index: linux-2.6.13/include/linux/futex.h
> ===================================================================
> --- linux-2.6.13.orig/include/linux/futex.h
> +++ linux-2.6.13/include/linux/futex.h
> @@ -1,8 +1,6 @@
> #ifndef _LINUX_FUTEX_H
> #define _LINUX_FUTEX_H
>
> -#include <linux/fs.h>
> -
> /* Second argument to futex syscall */
>

this chunk broke the build, so i added the #include back. Really, the
robust mutex glibc patches should _NOT_ automatically include the
kernel's futex.h file. If they do so and rely on an installed
kernel-headers package then they are broken. Just copy the file into the
glibc tree and remove the #include line.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/