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:
parent
b09c8c9fe7
commit
37c301f372
@ -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
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user