From: Seth Jennings Date: Tue, 20 Aug 2013 17:13:00 +0000 (-0500) Subject: drivers: base: unshare add_memory_section() from hotplug X-Git-Tag: v3.12-rc1~184^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7f80530ad0a71615f54607128c30d2422bf4c02;p=pandora-kernel.git drivers: base: unshare add_memory_section() from hotplug add_memory_section() is currently called from both boot time and run time via hotplug and there is a lot of nastiness to allow for shared code including an enum parameter to convey the calling context to add_memory_section(). This patch is the first step in breaking up the messy code sharing by pulling the hotplug path for add_memory_section() directly into register_new_memory(). Signed-off-by: Seth Jennings Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed