Skip to contentSkip to conversation

MIPS: fix HIGHMEM build error

PATCH In review Yoichi Yuasa 2 participants 2 messages Feb 20, 2010 – Feb 22, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: fix HIGHMEM 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.)

---
 arch/mips/mm/highmem.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/mips/mm/highmem.c +1 -0
index e274fda..127d732 100644
@@ -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>
Signature · 1 line
1.7.0
#1 lore raw

On Sat, Feb 20, 2010 at 09:23:22PM +0900, Yoichi Yuasa wrote:

Applied but to the mainline, not queue.

Thanks,

Ralf