[PATCH] memory hotplug: fix compile error for i386 with NUMA config
authorYasunori Goto <y-goto@jp.fujitsu.com>
Fri, 22 Dec 2006 09:11:13 +0000 (01:11 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 22 Dec 2006 16:55:50 +0000 (08:55 -0800)
commit7c7e9425f114a109b07be2c2c1c6c169e34e9bb3
tree9b530791da2e7683d80f779492347fff148d16b2
parent080dd51d81c8a9373303e9c344bbc75aacf54dce
[PATCH] memory hotplug: fix compile error for i386 with NUMA config

Fix compile error when config memory hotplug with numa on i386.

The cause of compile error was missing of arch_add_memory(),
remove_memory(), and memory_add_physaddr_to_nid().

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Acked-by: David Rientjes <rientjes@cs.washington.edu>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mm/discontig.c
arch/i386/mm/init.c