From: Ingo Molnar Date: Fri, 5 Sep 2008 07:21:21 +0000 (+0200) Subject: Merge branch 'x86/x2apic' into x86/core X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9042763808c5285a1a61b45b0fe98a710a4c903c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Merge branch 'x86/x2apic' into x86/core Conflicts: arch/x86/kernel/cpu/common_64.c Signed-off-by: Ingo Molnar --- 9042763808c5285a1a61b45b0fe98a710a4c903c diff --cc arch/x86/kernel/cpu/common_64.c index ae007b3521cb,a2888c7b56ac..bcb48ce05d23 --- a/arch/x86/kernel/cpu/common_64.c +++ b/arch/x86/kernel/cpu/common_64.c @@@ -150,8 -139,6 +150,11 @@@ void __cpuinit detect_ht(struct cpuinfo if (cpu_has(c, X86_FEATURE_CMP_LEGACY)) goto out; ++ if (cpu_has(c, X86_FEATURE_XTOPOLOGY)) ++ return; ++ + cpuid(1, &eax, &ebx, &ecx, &edx); + smp_num_siblings = (ebx & 0xff0000) >> 16; if (smp_num_siblings == 1) {