From: Catalin Marinas Date: Wed, 29 Jul 2009 22:04:11 +0000 (-0700) Subject: fs/ramfs/file-nommu.c needs include/linux/sched.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c8053652328693d10551131432ef3573e77ed2d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git fs/ramfs/file-nommu.c needs include/linux/sched.h This file makes use of various macros defined in files like asm/current.h or asm-generic/resource.h. All these files can be included via sched.h. The building of the !MMU ARM kernel (with additional patches) fails without this change. Signed-off-by: Catalin Marinas Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c index ebb2c417912c..11f0c06316de 100644 --- a/fs/ramfs/file-nommu.c +++ b/fs/ramfs/file-nommu.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "internal.h"