All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org,
	Badari Pulavarty <pbadari@us.ibm.com>
Subject: Re: [2.6 patch] mm/memory_hotplug.c must #include "internal.h"
Date: Mon, 28 Apr 2008 11:15:34 -0700	[thread overview]
Message-ID: <20080428111534.c873c81d.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080428174008.GX2813@cs181133002.pp.htv.fi>

On Mon, 28 Apr 2008 20:40:08 +0300 Adrian Bunk <bunk@kernel.org> wrote:

> This patch fixes the following compile error caused by
> commit 04753278769f3b6c3b79a080edb52f21d83bf6e2
> (memory hotplug: register section/node id to free):
> 
> <--  snip  -->
> 
> ...
>   CC      mm/memory_hotplug.o
> /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c: In function ___put_page_bootmem___:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c:82: error: implicit declaration of function _____free_pages_bootmem___
> /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c: At top level:
> /home/bunk/linux/kernel-2.6/git/linux-2.6/mm/memory_hotplug.c:87: warning: no previous prototype for ___register_page_bootmem_info_section___
> make[2]: *** [mm/memory_hotplug.o] Error 1
> 
> <--  snip  -->
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> 17f56d2d66ee41f504fcf0394687953c41afb8a4 diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
> index c4ba85c..b17dca7 100644
> --- a/mm/memory_hotplug.c
> +++ b/mm/memory_hotplug.c
> @@ -29,6 +29,8 @@
>  
>  #include <asm/tlbflush.h>
>  
> +#include "internal.h"
> +
>  /* add this memory to iomem resource */
>  static struct resource *register_memory_resource(u64 start, u64 size)
>  {

Argh.  The -mm-only
memory-hotplug-add-removable-to-sysfs-to-show-memblock-removability.patch
debugging patch adds that include so nobody hit this before.

I think I'll do an exploratory drop of that patch.

  reply	other threads:[~2008-04-28 18:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 17:40 [2.6 patch] mm/memory_hotplug.c must #include "internal.h" Adrian Bunk
2008-04-28 18:15 ` Andrew Morton [this message]
2008-04-29 13:09   ` Yasunori Goto

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=20080428111534.c873c81d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbadari@us.ibm.com \
    --cc=torvalds@linux-foundation.org \
    --cc=y-goto@jp.fujitsu.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.