浏览代码

[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>
Andi Kleen 20 年之前
父节点
当前提交
07291d431c
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      arch/x86_64/kernel/setup.c

+ 0 - 2
arch/x86_64/kernel/setup.c

@@ -765,8 +765,6 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
 	int cpu = smp_processor_id();
 	int cpu = smp_processor_id();
 	int node = 0;
 	int node = 0;
 	unsigned bits;
 	unsigned bits;
-	if (c->x86_num_cores == 1)
-		return;
 
 
 	bits = 0;
 	bits = 0;
 	while ((1 << bits) < c->x86_num_cores)
 	while ((1 << bits) < c->x86_num_cores)