drivers: base: reduce add_memory_section() for boot-time only
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Tue, 20 Aug 2013 17:13:01 +0000 (12:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 18:48:41 +0000 (11:48 -0700)
commit37a7bd6255b415afe197489b5cd1f9568a7ae058
tree7eb1afd7069b8e4ce0f83be1d5463d224c2d4fb3
parentd7f80530ad0a71615f54607128c30d2422bf4c02
drivers: base: reduce add_memory_section() for boot-time only

Now that add_memory_section() is only called from boot time, reduce
the logic and remove the enum.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/memory.c
include/linux/memory.h