lkml.org 
[lkml]   [2006]   [Aug]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 15 Aug 2006 00:11:12 +0900
FromYoichi Yuasa <>
Subject[-mm PATCH] ioremap: fixed MIPS build error
Hi Andrew,

This patch has fixed following build error.
This error occurred in relation to generic-ioremap_page_range-mips-conversion.patch

  CC      arch/mips/mm/ioremap.o
  arch/mips/mm/ioremap.c: In function `__ioremap':
  arch/mips/mm/ioremap.c:58: error: `high_memory' undeclared (first use in this function)
  arch/mips/mm/ioremap.c:58: error: (Each undeclared identifier is reported only once
  arch/mips/mm/ioremap.c:58: error: for each function it appears in.)
  arch/mips/mm/ioremap.c:65: error: `mem_map' undeclared (first use in this function)
  arch/mips/mm/ioremap.c:65: error: increment of pointer to unknown structure
  arch/mips/mm/ioremap.c:65: error: arithmetic on pointer to an incomplete type
  arch/mips/mm/ioremap.c:66: warning: implicit declaration of function `PageReserved'
  make[1]: *** [arch/mips/mm/ioremap.o] Error 1
  make: *** [arch/mips/mm] Error 2

diff -pruN -X linux-2.6.18-rc4-mm1/Documentation/dontdiff linux-2.6.18-rc4-mm1-orig/arch/mips/mm/ioremap.c linux-2.6.18-rc4-mm1/arch/mips/mm/ioremap.c
--- linux-2.6.18-rc4-mm1-orig/arch/mips/mm/ioremap.c	2006-08-14 15:36:38.910018250 +0900
+++ linux-2.6.18-rc4-mm1/arch/mips/mm/ioremap.c	2006-08-14 23:30:48.321004750 +0900
@@ -6,6 +6,7 @@
  * (C) Copyright 1995 1996 Linus Torvalds
  * (C) Copyright 2001, 2002 Ralf Baechle
  */
+#include <linux/mm.h>
 #include <linux/module.h>
 #include <asm/addrspace.h>
 #include <asm/byteorder.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-08-14 17:13    [from the cache]
©2003-2008