]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/cpu/common.c
x86/cpu: Add CLZERO detection
[karo-tx-linux.git] / arch / x86 / kernel / cpu / common.c
index de22ea7ff82f93ea1a8d4a204f10a7c6e8fdef76..4ddd780aeac90ab353134453316dc18108c8b308 100644 (file)
@@ -670,6 +670,7 @@ void get_cpu_cap(struct cpuinfo_x86 *c)
 
                c->x86_virt_bits = (eax >> 8) & 0xff;
                c->x86_phys_bits = eax & 0xff;
+               c->x86_capability[13] = cpuid_ebx(0x80000008);
        }
 #ifdef CONFIG_X86_32
        else if (cpu_has(c, X86_FEATURE_PAE) || cpu_has(c, X86_FEATURE_PSE36))