From owner-p4-projects@FreeBSD.ORG Fri Feb 22 05:00:43 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A460116A40E; Fri, 22 Feb 2008 05:00:43 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2132416A402; Fri, 22 Feb 2008 05:00:43 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id DA90A13C465; Fri, 22 Feb 2008 05:00:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m1M50PHS008513; Thu, 21 Feb 2008 22:00:25 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 21 Feb 2008 22:00:46 -0700 (MST) Message-Id: <20080221.220046.-1272479238.imp@bsdimp.com> To: rrs@freebsd.org From: "M. Warner Losh" In-Reply-To: <200802212319.m1LNJAqj002982@repoman.freebsd.org> References: <200802212319.m1LNJAqj002982@repoman.freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: perforce@freebsd.org Subject: Re: PERFORCE change 135922 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 05:00:44 -0000 In message: <200802212319.m1LNJAqj002982@repoman.freebsd.org> "Randall R. Stewart" 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