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

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

[PATCH] x86_64: Fix SRAT handling on non dual core systems



Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ed6b676c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -765,8 +765,6 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
	int cpu = smp_processor_id();
	int node = 0;
	unsigned bits;
	if (c->x86_num_cores == 1)
		return;

	bits = 0;
	while ((1 << bits) < c->x86_num_cores)