]> www.infradead.org Git - users/jedix/linux-maple.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)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 10 Aug 2018 22:56:36 +0000 (18:56 -0400)
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>
Orabug: 28220674
CVE: CVE-2018-3620

(cherry picked from commit 44ca36de56d1bf196dca2eb67cd753a46961ffe6)

Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/kernel/cpu/amd.c

index 1890a4b4bb26a328fb03448ea1e2a903c7745bb6..ff68fddb290f39b0c17b8dc7b3aea499895a708a 100644 (file)
@@ -723,10 +723,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)