diff options
author | Andi Kleen <ak@suse.de> | 2005-11-20 18:49:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-20 11:52:59 -0800 |
commit | d7169160bb772efe6510d8bc0c8e7625efbcc0b3 (patch) | |
tree | 3c460047530fa53a8fc3bea4f124eb86febf2d07 /arch | |
parent | 252ec9e28f0cf350e246c065ffe70a2e32b84ad4 (diff) | |
download | op-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.c | 5 |
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; |