Date: Wed, 15 Aug 2007 16:07:33 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 125178 for review Message-ID: <200708151607.l7FG7Xwp004860@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708151607.l7FG7Xwp004860>