From 3dd3de5feb31055a48acb39575da25a9cea2626d Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 30 Jul 2009 17:42:57 -0700 Subject: [PATCH] compile: fix accidental conversion of == into = --- src/arch/mips/mt.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/mips/mt.hh b/src/arch/mips/mt.hh index 3cb81c201..7217c335e 100755 --- a/src/arch/mips/mt.hh +++ b/src/arch/mips/mt.hh @@ -118,7 +118,7 @@ forkThread(TC *tc, Fault &fault, int Rd_bits, int Rs, int Rt) tc->readRegOtherThread(MISCREG_TC_BIND + Ctrl_Base_DepTag, tid); TCBindReg tcBind = tc->readMiscRegNoEffect(MISCREG_TC_BIND); - if (tidTCBind.curVPE = tcBind.curVPE) { + if (tidTCBind.curVPE == tcBind.curVPE) { TCStatusReg tidTCStatus = tc->readRegOtherThread(MISCREG_TC_STATUS + -- 2.30.2