From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost ([127.0.0.1] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1fQeAX-0005RV-Ky for speck@linutronix.de; Wed, 06 Jun 2018 21:32:29 +0200 Message-ID: <20180606192807.498338517@linutronix.de> Date: Wed, 06 Jun 2018 21:27:21 +0200 From: Thomas Gleixner Subject: [patch V2 07/12] x86/cpu/AMD: Remove the pointless detect_ht() call References: <20180606192714.754943543@linutronix.de> MIME-Version: 1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: Subject: [patch V2 07/12] x86/cpu/AMD: Remove the pointless detect_ht() call From: Thomas Gleixner 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 --- arch/x86/kernel/cpu/amd.c | 4 ---- 1 file changed, 4 deletions(-) --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -855,10 +855,6 @@ static void init_amd(struct cpuinfo_x86 srat_detect_node(c); } -#ifdef CONFIG_X86_32 - detect_ht(c); -#endif - init_amd_cacheinfo(c); if (c->x86 >= 0xf)