summaryrefslogtreecommitdiffstats
path: root/include/linux/memory.h
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@linux.vnet.ibm.com>2013-08-20 19:13:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 20:48:41 +0200
commit37a7bd6255b415afe197489b5cd1f9568a7ae058 (patch)
tree7eb1afd7069b8e4ce0f83be1d5463d224c2d4fb3 /include/linux/memory.h
parentdrivers: base: unshare add_memory_section() from hotplug (diff)
downloadlinux-37a7bd6255b415afe197489b5cd1f9568a7ae058.tar.xz
linux-37a7bd6255b415afe197489b5cd1f9568a7ae058.zip
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>
Diffstat (limited to '')
-rw-r--r--include/linux/memory.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/memory.h b/include/linux/memory.h
index 85c31a8e2904..4c89fb0c8f4c 100644
--- a/include/linux/memory.h
+++ b/include/linux/memory.h
@@ -125,7 +125,6 @@ extern struct memory_block *find_memory_block_hinted(struct mem_section *,
struct memory_block *);
extern struct memory_block *find_memory_block(struct mem_section *);
#define CONFIG_MEM_BLOCK_SIZE (PAGES_PER_SECTION<<PAGE_SHIFT)
-enum mem_add_context { BOOT, HOTPLUG };
#endif /* CONFIG_MEMORY_HOTPLUG_SPARSE */
#ifdef CONFIG_MEMORY_HOTPLUG