linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hirokazu Takata <takata@linux-m32r.org>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, takata@linux-m32r.org
Subject: [PATCH 2.6.10-bk13] m32r: include nodemask.h for build fix
Date: Tue, 11 Jan 2005 14:30:15 +0900 (JST)	[thread overview]
Message-ID: <20050111.143015.102571457.takata.hirokazu@renesas.com> (raw)

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/


                 reply	other threads:[~2005-01-11  5:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050111.143015.102571457.takata.hirokazu@renesas.com \
    --to=takata@linux-m32r.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).