]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] pgdat allocation for new node add (specify node id)
authorYasunori Goto <y-goto@jp.fujitsu.com>
Tue, 27 Jun 2006 09:53:30 +0000 (02:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:35 +0000 (17:32 -0700)
commit0fb095a05fe5c535a57d8eac635af986b52b56a0
treebda7998531b9c612c5597be9158f082d1cb5ab26
parent3de36c3fc35771b8a8c2083fe3b03874bd46b0e1
[PATCH] pgdat allocation for new node add (specify node id)

Change the name of old add_memory() to arch_add_memory.  And use node id to
get pgdat for the node at NODE_DATA().

Note: Powerpc's old add_memory() is defined as __devinit. However,
      add_memory() is usually called only after bootup.
      I suppose it may be redundant. But, I'm not well known about powerpc.
      So, I keep it. (But, __meminit is better at least.)

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/init.c
arch/ia64/mm/init.c
arch/powerpc/mm/mem.c
arch/x86_64/mm/init.c
drivers/acpi/Kconfig
drivers/acpi/acpi_memhotplug.c
drivers/base/memory.c
include/linux/memory_hotplug.h
mm/memory_hotplug.c