Date: Thu, 21 Feb 2008 22:00:46 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: rrs@freebsd.org Cc: perforce@freebsd.org Subject: Re: PERFORCE change 135922 for review Message-ID: <20080221.220046.-1272479238.imp@bsdimp.com> In-Reply-To: <200802212319.m1LNJAqj002982@repoman.freebsd.org> References: <200802212319.m1LNJAqj002982@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200802212319.m1LNJAqj002982@repoman.freebsd.org> "Randall R. Stewart" <rrs@freebsd.org> writes: : 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; : } : I think this is why our clock isn't ever ticking... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080221.220046.-1272479238.imp>