summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/fault.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-07-24 13:37:09 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2009-07-24 13:37:09 +0200
commit412bb0a6224f96661c042a109c4978649c00ed52 (patch)
tree21cff4cf9f97c4cdbd293704ead2a422e4245c37 /arch/arm/mm/fault.c
parentnommu: Do not set PRRR and NMRR in proc-v7.S if !MMU (diff)
downloadlinux-412bb0a6224f96661c042a109c4978649c00ed52.tar.xz
linux-412bb0a6224f96661c042a109c4978649c00ed52.zip
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>
Diffstat (limited to 'arch/arm/mm/fault.c')
-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>