From: "Serge E. Hallyn" For i386, an include of utsname.h by asm/elf.h hides the fact that user_namespace needs sched.h. To fix compilation for x86_64, just include sched.h explicitly. Signed-off-by: Serge E. Hallyn Cc: Herbert Poetzl Cc: Kirill Korotaev Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton --- include/linux/user_namespace.h | 1 + 1 files changed, 1 insertion(+) diff -puN include/linux/user_namespace.h~user-namespace-add-the-framework-fix include/linux/user_namespace.h --- a/include/linux/user_namespace.h~user-namespace-add-the-framework-fix +++ a/include/linux/user_namespace.h @@ -3,6 +3,7 @@ #include #include +#include #define UIDHASH_BITS (CONFIG_BASE_SMALL ? 3 : 8) #define UIDHASH_SZ (1 << UIDHASH_BITS) _