From owner-p4-projects@FreeBSD.ORG Thu Feb 21 23:19:10 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BF9EA16A405; Thu, 21 Feb 2008 23:19:10 +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 7BDC916A402 for ; Thu, 21 Feb 2008 23:19:10 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 685AF13C45E for ; Thu, 21 Feb 2008 23:19:10 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1LNJAaT002985 for ; Thu, 21 Feb 2008 23:19:10 GMT (envelope-from rrs@cisco.com) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1LNJAqj002982 for perforce@freebsd.org; Thu, 21 Feb 2008 23:19:10 GMT (envelope-from rrs@cisco.com) Date: Thu, 21 Feb 2008 23:19:10 GMT Message-Id: <200802212319.m1LNJAqj002982@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to rrs@cisco.com using -f From: "Randall R. Stewart" To: Perforce Change Reviews Cc: Subject: 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: Thu, 21 Feb 2008 23:19:11 -0000 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; }