summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-02-20 21:23:22 +0900
committerRalf Baechle <ralf@linux-mips.org>2010-02-22 21:42:11 +0100
commit52ab320ac560af3333191a473e56615fb48fff95 (patch)
tree50498055e6f0c6ef4d96c8a735772c030e7207ee
parent627fa177a1502ad24390d945851209ac022f3a36 (diff)
downloadlwn-52ab320ac560af3333191a473e56615fb48fff95.tar.gz
lwn-52ab320ac560af3333191a473e56615fb48fff95.zip
MIPS: Highmem: Fix build error
arch/mips/mm/highmem.c: In function 'kmap_init': arch/mips/mm/highmem.c:130: error: 'init_mm' undeclared (first use in this function) arch/mips/mm/highmem.c:130: error: (Each undeclared identifier is reported only once arch/mips/mm/highmem.c:130: error: for each function it appears in.) Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org> Cc: linux-mips <linux-mips@linux-mips.org> Patchwork: http://patchwork.linux-mips.org/patch/980/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/mm/highmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/highmem.c b/arch/mips/mm/highmem.c
index e274fda329f4..127d732474bf 100644
--- a/arch/mips/mm/highmem.c
+++ b/arch/mips/mm/highmem.c
@@ -1,5 +1,6 @@
#include <linux/module.h>
#include <linux/highmem.h>
+#include <linux/sched.h>
#include <linux/smp.h>
#include <asm/fixmap.h>
#include <asm/tlbflush.h>