aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-16 22:58:28 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:38:25 -0400
commit064d25f12014ae1d97c2882f9ab874995321f2b2 (patch)
treea6f39b226bbae5a2abc15d911cdf12d01b9c8c19 /arch/x86/kernel/setup_64.c
parentcc9f7a0ccf000d4db5fbdc7b0ae48eefea102f69 (diff)
x86: merge setup_memory_map with e820
... and kill e820_32/64.c and e820_32/64.h Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index ec65696ca2cd..3220c7b56eb3 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -266,12 +266,6 @@ static inline void __init reserve_crashkernel(void)
266{} 266{}
267#endif 267#endif
268 268
269/* Overridden in paravirt.c if CONFIG_PARAVIRT */
270void __attribute__((weak)) __init memory_setup(void)
271{
272 machine_specific_memory_setup();
273}
274
275#ifdef CONFIG_PCI_MMCONFIG 269#ifdef CONFIG_PCI_MMCONFIG
276extern void __cpuinit fam10h_check_enable_mmcfg(void); 270extern void __cpuinit fam10h_check_enable_mmcfg(void);
277extern void __init check_enable_amd_mmconf_dmi(void); 271extern void __init check_enable_amd_mmconf_dmi(void);
@@ -316,7 +310,7 @@ void __init setup_arch(char **cmdline_p)
316 310
317 ARCH_SETUP 311 ARCH_SETUP
318 312
319 memory_setup(); 313 setup_memory_map();
320 copy_edd(); 314 copy_edd();
321 315
322 if (!boot_params.hdr.root_flags) 316 if (!boot_params.hdr.root_flags)