summaryrefslogtreecommitdiff
path: root/src/arch/x86/pseudo_inst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/pseudo_inst.cc')
-rw-r--r--src/arch/x86/pseudo_inst.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/pseudo_inst.cc b/src/arch/x86/pseudo_inst.cc
index c0ec11059..90000b808 100644
--- a/src/arch/x86/pseudo_inst.cc
+++ b/src/arch/x86/pseudo_inst.cc
@@ -52,7 +52,7 @@ m5Syscall(ThreadContext *tc)
Fault fault;
tc->syscall(tc->readIntReg(INTREG_RAX), &fault);
- MiscReg rflags = tc->readMiscReg(MISCREG_RFLAGS);
+ RegVal rflags = tc->readMiscReg(MISCREG_RFLAGS);
rflags &= ~(1 << 16);
tc->setMiscReg(MISCREG_RFLAGS, rflags);
}