From: Yasunori Goto Date: Tue, 27 Jun 2006 09:53:38 +0000 (-0700) Subject: [PATCH] Register sysfs file for hotplugged new node X-Git-Tag: v2.6.18-rc1~575 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fc44159bfcb5b0afa178f9c3f50db23aebc76ff;p=pandora-kernel.git [PATCH] Register sysfs file for hotplugged new node When new node becomes enable by hot-add, new sysfs file must be created for new node. So, if new node is enabled by add_memory(), register_one_node() is called to create it. In addition, I386's arch_register_node() and a part of register_nodes() of powerpc are consolidated to register_one_node() as a generic_code(). This is tested by Tiger4(IPF) with node hot-plug emulation. Signed-off-by: Keiichiro Tokunaga Signed-off-by: Yasunori Goto Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed