Browse Source

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 năm trước cách đây
mục cha
commit
44ca36de56
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  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)