Page MenuHomeFreeBSD

D33669.diff
No OneTemporary

D33669.diff

diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -913,6 +913,12 @@
struct lapic *la;
register_t intr;
+#ifdef DEV_ATPIC
+ /* Fail if the local APIC is not present. */
+ if (!x2apic_mode && lapic_map == NULL)
+ return;
+#endif
+
intr = intr_disable();
la = &lapics[lapic_id()];

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 6, 12:13 PM (12 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17013902
Default Alt Text
D33669.diff (372 B)

Event Timeline