]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 21 Jun 2018 12:20:58 +0000 (14:20 +0200)
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>
arch/x86/kernel/cpu/amd.c

index 082d7875cef82eb779b68e5105330482f5a419d8..9fb1c681b63a1bd47cb3031ab2e50d694192a7c4 100644 (file)
@@ -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)