Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133273379
D5849.id14963.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D5849.id14963.diff
View Options
Index: head/sys/x86/x86/local_apic.c
===================================================================
--- head/sys/x86/x86/local_apic.c
+++ head/sys/x86/x86/local_apic.c
@@ -321,9 +321,9 @@
static void native_lapic_ipi_raw(register_t icrlo, u_int dest);
static void native_lapic_ipi_vectored(u_int vector, int dest);
static int native_lapic_ipi_wait(int delay);
+#endif /* SMP */
static int native_lapic_ipi_alloc(inthand_t *ipifunc);
static void native_lapic_ipi_free(int vector);
-#endif /* SMP */
struct apic_ops apic_ops = {
.create = native_lapic_create,
@@ -350,9 +350,9 @@
.ipi_raw = native_lapic_ipi_raw,
.ipi_vectored = native_lapic_ipi_vectored,
.ipi_wait = native_lapic_ipi_wait,
+#endif
.ipi_alloc = native_lapic_ipi_alloc,
.ipi_free = native_lapic_ipi_free,
-#endif
.set_lvt_mask = native_lapic_set_lvt_mask,
.set_lvt_mode = native_lapic_set_lvt_mode,
.set_lvt_polarity = native_lapic_set_lvt_polarity,
@@ -1904,6 +1904,8 @@
#endif /* DETECT_DEADLOCK */
}
+#endif /* SMP */
+
/*
* Since the IDT is shared by all CPUs the IPI slot update needs to be globally
* visible.
@@ -1958,5 +1960,3 @@
setidt(vector, &IDTVEC(rsvd), SDT_APICT, SEL_KPL, GSEL_APIC);
mtx_unlock_spin(&icu_lock);
}
-
-#endif /* SMP */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 25, 1:01 PM (3 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24158016
Default Alt Text
D5849.id14963.diff (1 KB)
Attached To
Mode
D5849: x86: Allow interrupt vector allocation/free even on UP
Attached
Detach File
Event Timeline
Log In to Comment