PERFORCE change 115595 for review
Paolo Pisati
piso at FreeBSD.org
Fri Mar 9 12:10:20 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=115595
Change 115595 by piso at 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;
More information about the p4-projects
mailing list