From: Yasunori Goto Date: Tue, 27 Jun 2006 09:53:30 +0000 (-0700) Subject: [PATCH] pgdat allocation for new node add (specify node id) X-Git-Tag: v2.6.18-rc1~584 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc02af93dd2bbddce1b55e0a493f833a1b7cf140;p=pandora-kernel.git [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 Cc: Dave Hansen Cc: "Brown, Len" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed