Don't try enumerating APICs when running on top of xen

(fixes boot on 64-bit dom0s)

MFC after:	1 month
This commit is contained in:
kmacy 2008-08-22 20:38:25 +00:00
parent b09c8c9fe7
commit 37c301f372

View File

@ -1005,6 +1005,7 @@ static struct apic_enumerator *best_enum;
void
apic_register_enumerator(struct apic_enumerator *enumerator)
{
#ifndef XEN
#ifdef INVARIANTS
struct apic_enumerator *apic_enum;
@ -1015,6 +1016,7 @@ apic_register_enumerator(struct apic_enumerator *enumerator)
}
#endif
SLIST_INSERT_HEAD(&enumerators, enumerator, apic_next);
#endif
}
/*