diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2013-08-20 19:13:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 20:48:40 +0200 |
commit | d7f80530ad0a71615f54607128c30d2422bf4c02 (patch) | |
tree | 4bbc0f27cf7ef588b54378d6e73e83c149fb470c /include/linux/memory.h | |
parent | drivers: base: use device get/put functions (diff) | |
download | linux-d7f80530ad0a71615f54607128c30d2422bf4c02.tar.xz linux-d7f80530ad0a71615f54607128c30d2422bf4c02.zip |
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 <sjenning@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions