projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55e6d27
)
x86/cpu/AMD: Remove the pointless detect_ht() call
author
Thomas Gleixner
<tglx@linutronix.de>
Tue, 5 Jun 2018 22:47:10 +0000
(
00:47
+0200)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/amd.c
b/arch/x86/kernel/cpu/amd.c
index 082d7875cef82eb779b68e5105330482f5a419d8..9fb1c681b63a1bd47cb3031ab2e50d694192a7c4 100644
(file)
--- 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 *c)
srat_detect_node(c);
}
-#ifdef CONFIG_X86_32
- detect_ht(c);
-#endif
-
init_amd_cacheinfo(c);
if (c->x86 >= 0xf)