summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-07-24 12:37:09 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2009-07-24 12:37:09 +0100
commit412bb0a6224f96661c042a109c4978649c00ed52 (patch)
tree21cff4cf9f97c4cdbd293704ead2a422e4245c37
parentbdaaaec39792ee0035d6c5a5ad2520991e090a3c (diff)
downloadlinux-rt-412bb0a6224f96661c042a109c4978649c00ed52.tar.gz
Include linux/sched.h in arch/arm/mm/fault.c
When building with !MMU, task_struct is not defined. Just include the relevant file. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm/mm/fault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c
index ee01ccae3f58..556c8daf087d 100644
--- a/arch/arm/mm/fault.c
+++ b/arch/arm/mm/fault.c
@@ -16,6 +16,7 @@
#include <linux/kprobes.h>
#include <linux/uaccess.h>
#include <linux/page-flags.h>
+#include <linux/sched.h>
#include <asm/system.h>
#include <asm/pgtable.h>