浏览代码

x86/cpu/AMD: Remove the pointless detect_ht() call

Real 32bit AMD CPUs do not have SMT and the only value of the call was to
reach the magic printout which got removed.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Thomas Gleixner 7 年之前
父节点
当前提交
44ca36de56
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      arch/x86/kernel/cpu/amd.c

+ 0 - 4
arch/x86/kernel/cpu/amd.c

@@ -855,10 +855,6 @@ static void init_amd(struct cpuinfo_x86 *c)
 		srat_detect_node(c);
 	}
 
-#ifdef CONFIG_X86_32
-	detect_ht(c);
-#endif
-
 	init_amd_cacheinfo(c);
 
 	if (c->x86 >= 0xf)