summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-11-20 18:49:05 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-20 11:52:59 -0800
commitd7169160bb772efe6510d8bc0c8e7625efbcc0b3 (patch)
tree3c460047530fa53a8fc3bea4f124eb86febf2d07 /arch
parent252ec9e28f0cf350e246c065ffe70a2e32b84ad4 (diff)
downloadop-kernel-dev-d7169160bb772efe6510d8bc0c8e7625efbcc0b3.zip
op-kernel-dev-d7169160bb772efe6510d8bc0c8e7625efbcc0b3.tar.gz
[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')
-rw-r--r--arch/i386/kernel/mpparse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c
index 8f767d9..1ca5269b1 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)
num_processors++;
if ((num_processors > 8) &&
- APIC_XAPIC(ver) &&
- (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL))
+ ((APIC_XAPIC(ver) &&
+ (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL)) ||
+ (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)))
def_to_bigsmp = 1;
else
def_to_bigsmp = 0;
OpenPOWER on IntegriCloud