diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-21 04:14:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:48:32 -0400 |
commit | ce38cc79964687d3c7e92663bc040552416fca27 (patch) | |
tree | ab601c16dbb4c247e1696af45a20cc483333d7fb /arch/x86/kernel/setup_64.c | |
parent | 3c999f142665265afd0fe9190204dd051f17e505 (diff) |
x86: clean up init_amd()
1. move out calling of check_enable_amd_mmconf_dmi out of setup_64.c
put it into init_amd(), so don't need to make extra dmi check for
system with other cpus.
2. 15 --> 0xf
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 175c696ec536..c94464ab04ba 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -72,7 +72,6 @@ | |||
72 | #include <asm/topology.h> | 72 | #include <asm/topology.h> |
73 | #include <asm/trampoline.h> | 73 | #include <asm/trampoline.h> |
74 | #include <asm/pat.h> | 74 | #include <asm/pat.h> |
75 | #include <asm/mmconfig.h> | ||
76 | 75 | ||
77 | #include <mach_apic.h> | 76 | #include <mach_apic.h> |
78 | #ifdef CONFIG_PARAVIRT | 77 | #ifdef CONFIG_PARAVIRT |
@@ -474,9 +473,6 @@ void __init setup_arch(char **cmdline_p) | |||
474 | conswitchp = &dummy_con; | 473 | conswitchp = &dummy_con; |
475 | #endif | 474 | #endif |
476 | #endif | 475 | #endif |
477 | |||
478 | /* do this before identify_cpu for boot cpu */ | ||
479 | check_enable_amd_mmconf_dmi(); | ||
480 | } | 476 | } |
481 | 477 | ||
482 | struct cpu_dev *cpu_devs[X86_VENDOR_NUM] = {}; | 478 | struct cpu_dev *cpu_devs[X86_VENDOR_NUM] = {}; |