Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andi Kleen and committed by
Linus Torvalds
07291d43 ed6b676c

-2
-2
arch/x86_64/kernel/setup.c
··· 765 765 int cpu = smp_processor_id(); 766 766 int node = 0; 767 767 unsigned bits; 768 - if (c->x86_num_cores == 1) 769 - return; 770 768 771 769 bits = 0; 772 770 while ((1 << bits) < c->x86_num_cores)