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 62d8b25c5..68bc74acc 100644
--- a/src/arch/x86/pseudo_inst.cc
+++ b/src/arch/x86/pseudo_inst.cc
@@ -50,7 +50,7 @@ m5Syscall(ThreadContext *tc)
DPRINTF(PseudoInst, "PseudoInst::m5Syscall()\n");
Fault fault;
- tc->syscall(tc->readIntReg(INTREG_RAX), &fault);
+ tc->syscall(&fault);
}
/*