summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-09-19 18:23:35 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-09-19 18:23:35 -0700
commitbdc0261eb56f0aaebb0dc04f178b268086a56e30 (patch)
treedff10852e011756aaf5e224a715a0d28ac060a3d /src
parent4a4aa59632c918ad9e2941fb79fa05540d2b52af (diff)
downloadgem5-bdc0261eb56f0aaebb0dc04f178b268086a56e30.tar.xz
X86: Enable the unlink system call.
--HG-- extra : convert_revision : 4230a13fdb652a87271f8d2ac9ead96cd2af07a5
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/linux/syscalls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc
index 11fae96bb..05f57cf38 100644
--- a/src/arch/x86/linux/syscalls.cc
+++ b/src/arch/x86/linux/syscalls.cc
@@ -208,7 +208,7 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = {
/* 84 */ SyscallDesc("rmdir", unimplementedFunc),
/* 85 */ SyscallDesc("creat", unimplementedFunc),
/* 86 */ SyscallDesc("link", unimplementedFunc),
- /* 87 */ SyscallDesc("unlink", unimplementedFunc),
+ /* 87 */ SyscallDesc("unlink", unlinkFunc),
/* 88 */ SyscallDesc("symlink", unimplementedFunc),
/* 89 */ SyscallDesc("readlink", unimplementedFunc),
/* 90 */ SyscallDesc("chmod", unimplementedFunc),