Date: Fri, 9 Mar 2007 12:10:19 GMT From: Paolo Pisati <piso@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 115595 for review Message-ID: <200703091210.l29CAJk3022585@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=115595 Change 115595 by piso@piso_newluxor on 2007/03/09 12:10:01 o Reduce diff against HEAD. o Spacing. Affected files ... .. //depot/projects/soc2006/intr_filter/sun4v/sun4v/intr_machdep.c#10 edit Differences ... ==== //depot/projects/soc2006/intr_filter/sun4v/sun4v/intr_machdep.c#10 (text+ko) ==== @@ -275,7 +275,6 @@ } SYSINIT(intr_init, SI_SUB_INTR, SI_ORDER_FIRST, intr_init, NULL); - #if 0 static void intr_execute_handlers(void *cookie) @@ -335,7 +334,7 @@ } int -inthand_add(const char *name, int vec, driver_filter_t *filter, +inthand_add(const char *name, int vec, driver_filter_t *filt, void (*handler)(void *), void *arg, int flags, void **cookiep) { struct intr_vector *iv; @@ -343,7 +342,7 @@ struct intr_event *orphan; int errcode; - if (filter != NULL && handler != NULL) + if (filt != NULL && handler != NULL) return (EINVAL); /* * Work around a race where more than one CPU may be registering @@ -371,13 +370,13 @@ } } - errcode = intr_event_add_handler(ie, name, filter, handler, arg, + errcode = intr_event_add_handler(ie, name, filt, handler, arg, intr_priority(flags), flags, cookiep); if (errcode) return (errcode); - intr_setup((handler == NULL) ? PIL_FAST : PIL_ITHREAD, intr_fast, vec, - intr_execute_handlers, iv); + intr_setup((handler == NULL) ? PIL_FAST : PIL_ITHREAD, intr_fast, + vec, intr_execute_handlers, iv); intr_stray_count[vec] = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703091210.l29CAJk3022585>