Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7169160 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds
Browse files

[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: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 252ec9e2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;