diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-08-25 16:39:18 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-08-27 14:14:37 -0400 |
commit | 774ea0bcb27f57b6fd521b3b6c43237782fed4b9 (patch) | |
tree | 6a488cbf25b12318cb57b76810758115bc888808 /arch/x86/kernel | |
parent | 6f2a75369e7561e800d86927ecd83c970996b21f (diff) |
x86: Remove old bootmem code
Requested by Ingo, Thomas and HPA.
The old bootmem code is no longer necessary, and the transition is
complete. Remove it.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/setup.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 924c8f78e98e..1d114ff6a078 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1014,10 +1014,6 @@ void __init setup_arch(char **cmdline_p) | |||
1014 | 1014 | ||
1015 | initmem_init(0, max_pfn, acpi, k8); | 1015 | initmem_init(0, max_pfn, acpi, k8); |
1016 | memblock_find_dma_reserve(); | 1016 | memblock_find_dma_reserve(); |
1017 | #ifndef CONFIG_NO_BOOTMEM | ||
1018 | memblock_x86_to_bootmem(0, max_low_pfn<<PAGE_SHIFT); | ||
1019 | #endif | ||
1020 | |||
1021 | dma32_reserve_bootmem(); | 1017 | dma32_reserve_bootmem(); |
1022 | 1018 | ||
1023 | #ifdef CONFIG_KVM_CLOCK | 1019 | #ifdef CONFIG_KVM_CLOCK |