compile: fix accidental conversion of == into =
authorNathan Binkert <nate@binkert.org>
Fri, 31 Jul 2009 00:42:57 +0000 (17:42 -0700)
committerNathan Binkert <nate@binkert.org>
Fri, 31 Jul 2009 00:42:57 +0000 (17:42 -0700)
src/arch/mips/mt.hh

index 3cb81c2014498917ebe9a32de861b1e1bf8e1d1d..7217c335e843265ea0d461c2bf2c2a8511be757b 100755 (executable)
@@ -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 +