summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-03-17 10:25:53 -0700
committerBrandon Potter <brandon.potter@amd.com>2016-03-17 10:25:53 -0700
commit7eaa5952f994c07a801fbef81f8097a5e9a5828f (patch)
tree11d40da8b09eb843e44a392b9bddbbb25fd6035d /src/arch/x86/linux
parent9d8fec0d90c2121a092c04da74e3306069ab5270 (diff)
downloadgem5-7eaa5952f994c07a801fbef81f8097a5e9a5828f.tar.xz
syscall_emul: fix bugs for mmap2 system call and x86-32 syscalls
Diffstat (limited to 'src/arch/x86/linux')
-rw-r--r--src/arch/x86/linux/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc
index 9651f7436..665815c30 100644
--- a/src/arch/x86/linux/process.cc
+++ b/src/arch/x86/linux/process.cc
@@ -733,7 +733,7 @@ static SyscallDesc syscallDescs32[] = {
/* 189 */ SyscallDesc("putpmsg", unimplementedFunc),
/* 190 */ SyscallDesc("vfork", unimplementedFunc),
/* 191 */ SyscallDesc("ugetrlimit", ignoreFunc),
- /* 192 */ SyscallDesc("mmap2", mmapFunc<X86Linux32>),
+ /* 192 */ SyscallDesc("mmap2", mmap2Func<X86Linux32>),
/* 193 */ SyscallDesc("truncate64", truncate64Func),
/* 194 */ SyscallDesc("ftruncate64", ftruncate64Func),
/* 195 */ SyscallDesc("stat64", stat64Func<X86Linux32>),