Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2007 17:33:52 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 115346 for review
Message-ID:  <200703051733.l25HXq2H000995@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=115346

Change 115346 by piso@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703051733.l25HXq2H000995>