summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-04-11 03:26:41 +0000
committerjeff <jeff@FreeBSD.org>2008-04-11 03:26:41 +0000
commit8efb03d60e1c0395890e9ac099d156d71015b041 (patch)
tree91b4d4ec9731a09d54fc444ce35eff70bab076be /sys/arm
parentaff41aab585ea9a4db2a88f4299e3ad8f2f12031 (diff)
downloadFreeBSD-src-8efb03d60e1c0395890e9ac099d156d71015b041.zip
FreeBSD-src-8efb03d60e1c0395890e9ac099d156d71015b041.tar.gz
- Add the interrupt vector number to intr_event_create so MI code can
lookup hard interrupt events by number. Ignore the irq# for soft intrs. - Add support to cpuset for binding hardware interrupts. This has the side effect of binding any ithread associated with the hard interrupt. As per restrictions imposed by MD code we can only bind interrupts to a single cpu presently. Interrupts can be 'unbound' by binding them to all cpus. Reviewed by: jhb Sponsored by: Nokia
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/intr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/intr.c b/sys/arm/arm/intr.c
index 5fbdce7..ba30bef 100644
--- a/sys/arm/arm/intr.c
+++ b/sys/arm/arm/intr.c
@@ -70,7 +70,7 @@ arm_setup_irqhandler(const char *name, driver_filter_t *filt,
return;
event = intr_events[irq];
if (event == NULL) {
- error = intr_event_create(&event, (void *)irq, 0,
+ error = intr_event_create(&event, (void *)irq, 0, irq,
(mask_fn)arm_mask_irq, (mask_fn)arm_unmask_irq,
NULL, NULL, "intr%d:", irq);
if (error)
OpenPOWER on IntegriCloud