diff options
author | Andi Kleen <ak@suse.de> | 2005-11-20 12:49:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-20 14:52:59 -0500 |
commit | d7169160bb772efe6510d8bc0c8e7625efbcc0b3 (patch) | |
tree | 3c460047530fa53a8fc3bea4f124eb86febf2d07 /arch/i386/kernel | |
parent | 252ec9e28f0cf350e246c065ffe70a2e32b84ad4 (diff) |
[PATCH] i386: Use bigsmp for > 8 core Opteron systems
bigsmp is reported to work on large Opteron systems on 32bit too.
Enable it by default there.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r-- | arch/i386/kernel/mpparse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c index 8f767d9aa45d..1ca5269b1e86 100644 --- a/arch/i386/kernel/mpparse.c +++ b/arch/i386/kernel/mpparse.c | |||
@@ -220,8 +220,9 @@ static void __devinit MP_processor_info (struct mpc_config_processor *m) | |||
220 | num_processors++; | 220 | num_processors++; |
221 | 221 | ||
222 | if ((num_processors > 8) && | 222 | if ((num_processors > 8) && |
223 | APIC_XAPIC(ver) && | 223 | ((APIC_XAPIC(ver) && |
224 | (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL)) | 224 | (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL)) || |
225 | (boot_cpu_data.x86_vendor == X86_VENDOR_AMD))) | ||
225 | def_to_bigsmp = 1; | 226 | def_to_bigsmp = 1; |
226 | else | 227 | else |
227 | def_to_bigsmp = 0; | 228 | def_to_bigsmp = 0; |