Skip to contentSkip to conversation

Include linux/sched.h in fs/ramfs/file-nommu.c

PATCH New Catalin Marinas 1 participant 1 message Jul 24, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include linux/sched.h in fs/ramfs/file-nommu.c

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.

---
 fs/ramfs/file-nommu.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/ramfs/file-nommu.c +1 -0
index ebb2c41..11f0c06 100644
@@ -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"