![]() | |||||||||||||
Messages in this thread Patch in this message |
Hi, Here is a patch to fix compile errors of 2.6.10-bk13 for m32r. - build fix of arch/m32r/mm/init.c Compile tested and boot checked. Please apply. > CC arch/m32r/mm/init.o >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c: In function `reservedpages_count': >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c:156: warning: implicit declaration of function `for_each_online_node' >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c:157: error: parse error before "for" >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c:157: error: parse error before ')' token >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c: In function `mem_init': >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c:174: error: parse error before "num_physpages" >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c:193: error: parse error before "totalram_pages" >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c: In function `reservedpages_count': >/work/kernel/linux-2.6.10-bk13/b/arch/m32r/mm/init.c:157: warning: statement with no effect >make[2]: *** [arch/m32r/mm/init.o] Error 1 >make[1]: *** [arch/m32r/mm] Error 2 >make: *** [_all] Error 2 Thanks, Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> --- arch/m32r/mm/init.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -ruNp a/arch/m32r/mm/init.c b/arch/m32r/mm/init.c --- a/arch/m32r/mm/init.c 2005-01-11 10:31:04.000000000 +0900 +++ b/arch/m32r/mm/init.c 2005-01-11 12:14:10.000000000 +0900 @@ -9,8 +9,6 @@ * Copyright (C) 1995 Linus Torvalds */ -/* $Id$ */ - #include <linux/init.h> #include <linux/kernel.h> #include <linux/mm.h> @@ -19,6 +17,7 @@ #include <linux/swap.h> #include <linux/highmem.h> #include <linux/bitops.h> +#include <linux/nodemask.h> #include <asm/types.h> #include <asm/processor.h> #include <asm/page.h> -- Hirokazu Takata <takata@linux-m32r.org> Linux/M32R Project: http://www.linux-m32r.org/ - 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: 2005-03-22 14:09 [from the cache] ©2003-2008 | |||||||||||||