linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.10-bk13] m32r: include nodemask.h for build fix
@ 2005-01-11  5:30 Hirokazu Takata
  0 siblings, 0 replies; only message in thread
From: Hirokazu Takata @ 2005-01-11  5:30 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, takata

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/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-11  5:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-11  5:30 [PATCH 2.6.10-bk13] m32r: include nodemask.h for build fix Hirokazu Takata

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).