Skip to content

Commit

Permalink
Include linux/sched.h in arch/arm/mm/fault.c
Browse files Browse the repository at this point in the history
When building with !MMU, task_struct is not defined. Just include the
relevant file.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
  • Loading branch information
Catalin Marinas committed Jul 24, 2009
1 parent bdaaaec commit 412bb0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 412bb0a

Please sign in to comment.