x86/cpu/AMD: Remove the pointless detect_ht() call
authorThomas Gleixner <tglx@linutronix.de>
Tue, 5 Jun 2018 22:47:10 +0000 (00:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:12:52 +0000 (18:12 +0200)
commit 44ca36de56d1bf196dca2eb67cd753a46961ffe6 upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/amd.c

index 90574f7..c17da9c 100644 (file)
@@ -841,10 +841,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)