automerge

This commit is contained in:
Nathan Binkert
2009-07-06 15:54:18 -07:00

View File

@@ -47,8 +47,8 @@ namespace SparcISA
static inline bool
inUserMode(ThreadContext *tc)
{
return !(tc->readMiscRegNoEffect(MISCREG_PSTATE & (1 << 2)) ||
tc->readMiscRegNoEffect(MISCREG_HPSTATE & (1 << 2)));
return !((tc->readMiscRegNoEffect(MISCREG_PSTATE) & (1 << 2)) ||
(tc->readMiscRegNoEffect(MISCREG_HPSTATE) & (1 << 2)));
}
inline bool isCallerSaveIntegerRegister(unsigned int reg) {