PERFORCE change 135922 for review
    Randall R. Stewart 
    rrs at FreeBSD.org
       
    Thu Feb 21 23:19:11 UTC 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=135922
Change 135922 by rrs at 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;
 		}
 
    
    
More information about the p4-projects
mailing list