* [PATCH] Include linux/sched.h in fs/ramfs/file-nommu.c
@ 2009-07-24 15:03 Catalin Marinas
0 siblings, 0 replies; only message in thread
From: Catalin Marinas @ 2009-07-24 15:03 UTC (permalink / raw)
To: linux-kernel; +Cc: David Howells
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 <catalin.marinas@arm.com>
Cc: David Howells <dhowells@redhat.com>
---
fs/ramfs/file-nommu.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/fs/ramfs/file-nommu.c b/fs/ramfs/file-nommu.c
index ebb2c41..11f0c06 100644
--- a/fs/ramfs/file-nommu.c
+++ b/fs/ramfs/file-nommu.c
@@ -20,6 +20,7 @@
#include <linux/ramfs.h>
#include <linux/pagevec.h>
#include <linux/mman.h>
+#include <linux/sched.h>
#include <asm/uaccess.h>
#include "internal.h"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-24 15:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-24 15:03 [PATCH] Include linux/sched.h in fs/ramfs/file-nommu.c Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®