PERFORCE change 115594 for review
Paolo Pisati
piso at FreeBSD.org
Fri Mar 9 12:02:09 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=115594
Change 115594 by piso at piso_newluxor on 2007/03/09 12:01:39
o Remove inclusion of sys/limits.h.
o Reduce diff against HEAD.
o Remove a stale comment.
Affected files ...
.. //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#25 edit
Differences ...
==== //depot/projects/soc2006/intr_filter/sparc64/sparc64/intr_machdep.c#25 (text+ko) ====
@@ -70,7 +70,6 @@
#include <sys/ktr.h>
#include <sys/kernel.h>
#include <sys/lock.h>
-#include <sys/limits.h>
#include <sys/mutex.h>
#include <sys/pcpu.h>
#include <sys/proc.h>
@@ -245,7 +244,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;
@@ -278,16 +277,11 @@
}
}
- 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);
- /*
- * XXX Fast handlers are called from an asm routine(intr_fast),
- * instead from intr_execute_handlers: with interrupt filters in
- * place, they won't work, to be fixed.
- */
intr_setup((handler == NULL) ? PIL_FAST : PIL_ITHREAD, intr_fast, vec,
intr_execute_handlers, iv);
More information about the p4-projects
mailing list