diff options
author | Robert Richter <robert.richter@amd.com> | 2008-06-06 06:01:13 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-10 06:32:53 -0400 |
commit | 9e26d84273541a8c6c2efb705457ca8e6245fb73 (patch) | |
tree | 53e6adaf9721c482413e27c38282c15b7251c747 /arch/x86/kernel/setup.c | |
parent | d44b9d17faf7bca165ce73a1acb936b65a3f0cc6 (diff) |
fix build bug in "x86: add PCI extended config space access for AMD Barcelona"
Also much less code now.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index d8f171234013..20e14dbef107 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -136,6 +136,7 @@ void __init setup_per_cpu_areas(void) | |||
136 | setup_cpumask_of_cpu(); | 136 | setup_cpumask_of_cpu(); |
137 | } | 137 | } |
138 | 138 | ||
139 | #endif | ||
139 | #define ENABLE_CF8_EXT_CFG (1ULL << 46) | 140 | #define ENABLE_CF8_EXT_CFG (1ULL << 46) |
140 | 141 | ||
141 | void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c) | 142 | void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c) |
@@ -149,4 +150,3 @@ void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c) | |||
149 | set_cpu_cap(c, X86_FEATURE_PCI_EXT_CFG); | 150 | set_cpu_cap(c, X86_FEATURE_PCI_EXT_CFG); |
150 | } | 151 | } |
151 | 152 | ||
152 | #endif | ||