[PATCH] i386: Use bigsmp for > 8 core Opteron systems
authorAndi Kleen <ak@suse.de>
Sun, 20 Nov 2005 17:49:05 +0000 (18:49 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 20 Nov 2005 19:52:59 +0000 (11:52 -0800)
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>
arch/i386/kernel/mpparse.c

index 8f767d9aa45d73286af9f8a8a92b2fe901b33608..1ca5269b1e863c8d9b7d9792e1b796a6cb7d8b4e 100644 (file)
@@ -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;