mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
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
898112a7dc
commit
2d28c06b42
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182021
@ -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