Fix the intial setup of the stray interrupt handler (it takes a struct

*intr_vec as argument now, not the vector number).
This commit is contained in:
Thomas Moestl 2001-11-06 19:59:21 +00:00
parent 417dee22b4
commit 9d98522b19

View File

@ -159,9 +159,10 @@ intr_init()
mtx_init(&intr_table_lock, "ithread table lock", MTX_SPIN);
/* Mark all interrupts as being stray. */
for (i = 0; i < NIV; i++)
for (i = 0; i < NIV; i++) {
intr_setup(PIL_LOW, intr_dequeue, i, intr_stray,
(void *)(uintptr_t)i);
(void *)&intr_vectors[i]);
}
}
/* Schedule a heavyweight interrupt process. */