#include <asm/apic.h>
#ifdef CONFIG_X86_LOCAL_APIC
+#ifndef CONFIG_XEN
static unsigned long sfi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE;
/* All CPUs enumerated by SFI must be present and enabled */
generic_processor_info(id, GET_APIC_VERSION(apic_read(APIC_LVR)));
}
+#else
+#define mp_sfi_register_lapic(id)
+#endif
static int __init sfi_parse_cpus(struct sfi_table_header *table)
{
pentry++;
}
+#ifndef CONFIG_XEN
WARN(pic_mode, KERN_WARNING
"SFI: pic_mod shouldn't be 1 when IOAPIC table is present\n");
pic_mode = 0;
+#endif
+
return 0;
}
#endif /* CONFIG_X86_IO_APIC */