Searched refs:x86_leaf (Results 1 – 1 of 1) sorted by relevance
76 static __always_inline void reverse_cpuid_check(unsigned int x86_leaf) in reverse_cpuid_check() argument78 BUILD_BUG_ON(x86_leaf == CPUID_LNX_1); in reverse_cpuid_check()79 BUILD_BUG_ON(x86_leaf == CPUID_LNX_2); in reverse_cpuid_check()80 BUILD_BUG_ON(x86_leaf == CPUID_LNX_3); in reverse_cpuid_check()81 BUILD_BUG_ON(x86_leaf == CPUID_LNX_4); in reverse_cpuid_check()82 BUILD_BUG_ON(x86_leaf >= ARRAY_SIZE(reverse_cpuid)); in reverse_cpuid_check()83 BUILD_BUG_ON(reverse_cpuid[x86_leaf].function == 0); in reverse_cpuid_check()102 unsigned int x86_leaf = x86_feature / 32; in x86_feature_cpuid() local104 reverse_cpuid_check(x86_leaf); in x86_feature_cpuid()105 return reverse_cpuid[x86_leaf]; in x86_feature_cpuid()[all …]