From bc17acb2ad65a8f1c065944f5f68050fb1b2ce99 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 12 Dec 2006 19:19:22 +0000 Subject: [PATCH] Add a comment and fix a whitespace nit. --- sys/kern/kern_intr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 53cbc4b4107..8d1dbe8d3ac 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -99,6 +99,7 @@ static void ithread_loop(void *); static void ithread_update(struct intr_thread *ithd); static void start_softintr(void *); +/* Map an interrupt type to an ithread priority. */ u_char intr_priority(enum intr_type flags) { @@ -412,7 +413,7 @@ intr_event_remove_handler(void *cookie) ie = handler->ih_event; KASSERT(ie != NULL, ("interrupt handler \"%s\" has a NULL interrupt event", - handler->ih_name)); + handler->ih_name)); mtx_lock(&ie->ie_lock); CTR3(KTR_INTR, "%s: removing %s from %s", __func__, handler->ih_name, ie->ie_name);