diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2013-08-20 21:13:00 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-21 22:48:40 +0400 |
commit | d7f80530ad0a71615f54607128c30d2422bf4c02 (patch) | |
tree | 4bbc0f27cf7ef588b54378d6e73e83c149fb470c /kernel/events/internal.h | |
parent | df2b717c667d2cab37d1bbd585e891f10ed2bca4 (diff) | |
download | linux-d7f80530ad0a71615f54607128c30d2422bf4c02.tar.xz |
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 'kernel/events/internal.h')
0 files changed, 0 insertions, 0 deletions