diff options
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002d.patch')
-rw-r--r-- | recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002d.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002d.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002d.patch new file mode 100644 index 0000000..853223c --- /dev/null +++ b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/002d.patch @@ -0,0 +1,18 @@ +--- b/kernel/cpu.c ++++ a/kernel/cpu.c +@@ -2063,15 +2063,6 @@ + + static int __init cpu_smt_state_init(void) + { +- /* +- * If SMT was disabled by BIOS, detect it here, after the CPUs have +- * been brought online. This ensures the smt/l1tf sysfs entries are +- * consistent with reality. Note this may overwrite cpu_smt_control's +- * previous setting. +- */ +- if (topology_max_smt_threads() == 1) +- cpu_smt_control = CPU_SMT_NOT_SUPPORTED; +- + return sysfs_create_group(&cpu_subsys.dev_root->kobj, + &cpuhp_smt_attr_group); + } |