Skip to content

Commit

Permalink
x86/cpu/AMD: Remove the pointless detect_ht() call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner committed Jun 21, 2018
1 parent 55e6d27 commit 44ca36d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/kernel/cpu/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 44ca36d

Please sign in to comment.