[PATCH] x86_64: Support memory hotadd without sparsemem
Memory hotadd doesn't need SPARSEMEM, but can be handled by just preallocating mem_maps. This only needs some untangling of ifdefs to enable the necessary code even without SPARSEMEM. Originally from Keith Mannthey, hacked by AK. Signed-off-by:Andi Kleen <ak@suse.de> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/i386/mm/init.c 2 additions, 0 deletionsarch/i386/mm/init.c
- arch/x86_64/kernel/e820.c 1 addition, 1 deletionarch/x86_64/kernel/e820.c
- arch/x86_64/mm/init.c 34 additions, 2 deletionsarch/x86_64/mm/init.c
- drivers/acpi/Kconfig 1 addition, 1 deletiondrivers/acpi/Kconfig
- include/linux/init.h 2 additions, 1 deletioninclude/linux/init.h
- include/linux/memory_hotplug.h 7 additions, 7 deletionsinclude/linux/memory_hotplug.h
Loading
Please register or sign in to comment