From owner-p4-projects@FreeBSD.ORG Wed Aug 15 16:07:34 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6C35016A420; Wed, 15 Aug 2007 16:07:34 +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 17A6916A41B for ; Wed, 15 Aug 2007 16:07:34 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 023B113C457 for ; Wed, 15 Aug 2007 16:07:34 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7FG7XRw004863 for ; Wed, 15 Aug 2007 16:07:33 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7FG7Xwp004860 for perforce@freebsd.org; Wed, 15 Aug 2007 16:07:33 GMT (envelope-from gonzo@FreeBSD.org) Date: Wed, 15 Aug 2007 16:07:33 GMT Message-Id: <200708151607.l7FG7Xwp004860@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 125178 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: Wed, 15 Aug 2007 16:07:34 -0000 http://perforce.freebsd.org/chv.cgi?CH=125178 Change 125178 by gonzo@gonzo_jeeves on 2007/08/15 16:07:11 o Fix stupid bug in DO_AST. td_flags value was extracted using td->td_frame address not td itself. Affected files ... .. //depot/projects/mips2/src/sys/mips/include/asm.h#13 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/asm.h#13 (text+ko) ==== @@ -249,15 +249,15 @@ #define DO_AST \ lw k1, pcpup; \ lw k1, PC_CURTHREAD(k1); \ + lw t0, TD_FLAGS(k1); \ + and t0, t0, (TDF_ASTPENDING|TDF_NEEDRESCHED); \ + beq t0, zero, 27f; \ + nop; \ lw k1, TD_FRAME(k1); \ lw t0, TF_REG_SR(k1); \ and t0, t0, MIPS_SR_KSU_USER; \ beq t0, zero, 27f; \ nop; \ - lw t0, TD_FLAGS(k1); \ - and t0, t0, (TDF_ASTPENDING|TDF_NEEDRESCHED); \ - beq t0, zero, 27f; \ - nop; \ move a0, k1; \ jal ast; \ nop; \