linux-mips
[Top] [All Lists]

[PATCH -queue] MIPS: fix HIGHMEM build error

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH -queue] MIPS: fix HIGHMEM build error
From: Yoichi Yuasa <yuasa@linux-mips.org>
Date: Sat, 20 Feb 2010 21:23:22 +0900
Cc: yuasa@linux-mips.org, linux-mips <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=k6C+4pl3q3FQdoajqnPIQsZ1OyVxALulHiw7vVQTxho=; b=rnFDP4h6oUZ4pzb5RDIHlGQu+9tYw6fwVFTMgXPdl/fLch+v2GoagkfmVdCgf6CIZg DgDwiTDFS/m/4i2mKyvNA8bXlEoPxJlJWyun8YML8riL0aYrqIgcykmg0AxLeGI7bjKj YediGz7qmh0v9AbcqsV7uVLGzrgDLg4tOjzeY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=MRkY3zUr7Y6xcXwgxkQZ0BWsg0zWWSSWgvsun01LhBOus2MtnhMputIwh/uetW1y5M poiuXrFl3JiHpQLUQM2BCRjoRQ7OErlwz1JZv89KfZgaZhh0xkls6FzJXS9Pl7msIjzc Y2PI7sSj3aLXFJ0xzR1530tzFaVCr7KJEUw90=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@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>
---
 arch/mips/mm/highmem.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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>
-- 
1.7.0


<Prev in Thread] Current Thread [Next in Thread>