linux-mips
[Top] [All Lists]

[git:v4l-dvb/master] MIPS: Highmem: Fix build error

To: linuxtv-commits@linuxtv.org
Subject: [git:v4l-dvb/master] MIPS: Highmem: Fix build error
From: Patch from Yoichi Yuasa <linuxtv-commits-bounces@linuxtv.org>
Date: Sat, 06 Mar 2010 15:25:32 +0100
Cc: linux-mips <linux-mips@linux-mips.org>, Yoichi Yuasa <yuasa@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>
Data: Sat, 20 Feb 2010 21:23:22 +0900
Mail-followup-to: linux-media@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: linux-media@vger.kernel.org
Sender: linux-mips-bounce@linux-mips.org
From: Yoichi Yuasa <yuasa@linux-mips.org>

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>

 arch/mips/mm/highmem.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=52ab320ac560af3333191a473e56615fb48fff95

diff --git a/arch/mips/mm/highmem.c b/arch/mips/mm/highmem.c
index e274fda..127d732 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>

<Prev in Thread] Current Thread [Next in Thread>
  • [git:v4l-dvb/master] MIPS: Highmem: Fix build error, Patch from Yoichi Yuasa <=