Page MenuHomeFreeBSD

D36901.diff
No OneTemporary

D36901.diff

diff --git a/sys/x86/x86/nexus.c b/sys/x86/x86/nexus.c
--- a/sys/x86/x86/nexus.c
+++ b/sys/x86/x86/nexus.c
@@ -615,7 +615,12 @@
static int
nexus_bind_intr(device_t dev, device_t child, struct resource *irq, int cpu)
{
- return (intr_bind(rman_get_start(irq), cpu));
+ struct intsrc *isrc;
+
+ isrc = intr_lookup_source(rman_get_start(irq));
+ if (isrc == NULL)
+ return (EINVAL);
+ return (intr_event_bind(isrc->is_event, cpu));
}
#endif

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 10, 2:08 PM (14 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15743216
Default Alt Text
D36901.diff (447 B)

Event Timeline