Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2008 23:19:10 GMT
From:      "Randall R. Stewart" <rrs@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 135922 for review
Message-ID:  <200802212319.m1LNJAqj002982@repoman.freebsd.org>

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

Change 135922 by rrs@rrs-mips2-jnpr on 2008/02/21 23:18:46

	get rid of wierd hacks 

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/intr_machdep.c#4 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/intr_machdep.c#4 (text+ko) ====

@@ -134,14 +134,6 @@
 	intr = (cause & MIPS_INT_MASK) >> 8;
 	cause &= ~MIPS_INT_MASK;
 	mips_wr_cause(cause);
-
-#if 0
-	if (intr & CR_INT_CLOCK) {
-		clockintr(intr, tf);
-		intr &= ~CR_INT_CLOCK;
-	}
-#endif
-
 	while ((i = fls(intr)) != 0) {
 		intr &= ~(1 << (i - 1));
 		switch (i) {
@@ -162,11 +154,8 @@
 
 		if (!event || TAILQ_EMPTY(&event->ie_handlers))
 		{
-			if (i == 5)
-				clockintr(intr, tf);
-			else
-				printf("stray %s interrupt %d\n",
-				    hard ? "hard" : "soft", i);
+		        printf("stray %s interrupt %d\n",
+			 hard ? "hard" : "soft", i);
 			continue;
 		}
 



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