/* Check, whether this is a modern or a first generation APIC  */
static int modern_apic(void)
/* Check, whether this is a modern or a first generation APIC  */
static int modern_apic(void)
{
	if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD &&
	    boot_cpu_data.x86 >= 0xf)
		return 1;
	return lapic_get_version() >= 0x14;
}