Messages in this thread Patch in this message | | | Date | Fri, 28 Jul 2006 00:37:08 +0900 | From | Yoichi Yuasa <> | Subject | [PATCH] highmem: fixed ip27-memory.c build error |
| |
Hi,
This patch has fixed following build error. This error occurred in relation to reduce-max_nr_zones-move-highmem-counters-into-highmemc-h.patch .
CC arch/mips/sgi-ip27/ip27-memory.o arch/mips/sgi-ip27/ip27-memory.c: In function `mem_init': arch/mips/sgi-ip27/ip27-memory.c:582: error: `totalhigh_pages' undeclared (first use in this function) arch/mips/sgi-ip27/ip27-memory.c:582: error: (Each undeclared identifier is reported only once arch/mips/sgi-ip27/ip27-memory.c:582: error: for each function it appears in.) make[1]: *** [arch/mips/sgi-ip27/ip27-memory.o] Error 1 make: *** [arch/mips/sgi-ip27] Error 2
Yoichi
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
diff -pruN -X linux-2.6.18-rc2-mm1/Documentation/dontdiff linux-2.6.18-rc2-mm1-orig/arch/mips/sgi-ip27/ip27-memory.c linux-2.6.18-rc2-mm1/arch/mips/sgi-ip27/ip27-memory.c --- linux-2.6.18-rc2-mm1-orig/arch/mips/sgi-ip27/ip27-memory.c 2006-07-27 20:15:23.680114000 +0900 +++ linux-2.6.18-rc2-mm1/arch/mips/sgi-ip27/ip27-memory.c 2006-07-27 19:40:11.234693250 +0900 @@ -19,6 +19,7 @@ #include <linux/swap.h> #include <linux/bootmem.h> #include <linux/pfn.h> +#include <linux/highmem.h> #include <asm/page.h> #include <asm/sections.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/
| |