PERFORCE change 115346 for review

Paolo Pisati piso at FreeBSD.org
Mon Mar 5 17:33:53 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=115346

Change 115346 by piso at piso_longino on 2007/03/05 17:32:53

	Fix sun4v compilation.

Affected files ...

.. //depot/projects/soc2006/intr_filter/sun4v/sun4v/intr_machdep.c#7 edit

Differences ...

==== //depot/projects/soc2006/intr_filter/sun4v/sun4v/intr_machdep.c#7 (text+ko) ====

@@ -343,7 +343,7 @@
 }
 #endif
 
-static int
+static void
 intr_execute_handlers(void *cookie)
 {
 	struct intr_vector *iv;
@@ -351,7 +351,6 @@
 
 	iv = cookie;
 	ie = iv->iv_event;
-	return (FILTER_HANDLED);
 	if (intr_event_handle(ie, NULL) != 0)
 		intr_stray_vector(iv);
 	/*
@@ -371,7 +370,7 @@
 	struct intr_event *orphan;
 	int errcode;
 
-	if (filt != NULL && handler != NULL)
+	if (filter != NULL && handler != NULL)
 		return (EINVAL);
 	/*
 	 * Work around a race where more than one CPU may be registering


More information about the p4-projects mailing list