X86_FEATURE_APIC
if (boot_cpu_has(X86_FEATURE_APIC))
return boot_cpu_has(X86_FEATURE_APIC);
if (!boot_cpu_has(X86_FEATURE_APIC))
if (!boot_cpu_has(X86_FEATURE_APIC))
if (!boot_cpu_has(X86_FEATURE_APIC))
if (!boot_cpu_has(X86_FEATURE_APIC))
if (!boot_cpu_has(X86_FEATURE_APIC) && !apic_from_smp_config())
if (!boot_cpu_has(X86_FEATURE_APIC)) {
if (!boot_cpu_has(X86_FEATURE_APIC) && !smp_found_config) {
if (!boot_cpu_has(X86_FEATURE_APIC) &&
if (smp_found_config || !boot_cpu_has(X86_FEATURE_APIC))
if (!boot_cpu_has(X86_FEATURE_APIC))
setup_clear_cpu_cap(X86_FEATURE_APIC);
if (!boot_cpu_has(X86_FEATURE_APIC)) {
if (!(features & (1 << X86_FEATURE_APIC))) {
set_cpu_cap(&boot_cpu_data, X86_FEATURE_APIC);
if ((boot_cpu_data.x86 == 5 && boot_cpu_has(X86_FEATURE_APIC)) ||
if (!boot_cpu_has(X86_FEATURE_APIC)) {
if (boot_cpu_has(X86_FEATURE_APIC))
setup_clear_cpu_cap(X86_FEATURE_APIC);
if (!boot_cpu_has(X86_FEATURE_APIC) || apic_is_disabled)
WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_APIC) && !apic_is_disabled);
WARN_ON_ONCE(boot_cpu_has(X86_FEATURE_APIC) && !apic_is_disabled);
if (boot_cpu_has(X86_FEATURE_APIC) || apic_from_smp_config())
if (!boot_cpu_has(X86_FEATURE_APIC) && !apic_from_smp_config())
clear_cpu_cap(c, X86_FEATURE_APIC);
if (boot_cpu_has(X86_FEATURE_APIC)) {
if (boot_cpu_has(X86_FEATURE_APIC))
if (boot_cpu_has(X86_FEATURE_APIC) && c->x86_vfm == INTEL_PENTIUM_75 &&
if (!boot_cpu_has(X86_FEATURE_APIC) || lapic_get_maxlvt() < 6)
if (!boot_cpu_has(X86_FEATURE_APIC)) {
setup_clear_cpu_cap(X86_FEATURE_APIC);
kvm_update_feature_runtime(vcpu, best, X86_FEATURE_APIC,
BUILD_BUG_ON(x86_feature == X86_FEATURE_APIC ||
((eax & XEN_HVM_CPUID_APIC_ACCESS_VIRT) && boot_cpu_has(X86_FEATURE_APIC)))
if (boot_cpu_has(X86_FEATURE_APIC)) {
if (boot_cpu_has(X86_FEATURE_APIC) || apic_from_smp_config())
if (!boot_cpu_has(X86_FEATURE_APIC))