X86: Hookup truncate/ftruncate syscalls on X86
authorVince Weaver <vince@csl.cornell.edu>
Fri, 30 Oct 2009 16:51:13 +0000 (12:51 -0400)
committerVince Weaver <vince@csl.cornell.edu>
Fri, 30 Oct 2009 16:51:13 +0000 (12:51 -0400)
commitcf269025f9e51eebb56d04fea6994fd72b1be4f9
tree5cf132576b8ea5ea49a5320e829342d4eb0d0ba6
parent9ad3acab5ea79effe27fba240d8f89aadc138f6f
X86: Hookup truncate/ftruncate syscalls on X86

This patch hooks up the truncate, ftruncate, truncate64 and ftruncate64
system calls on 32-bit and 64-bit X86.

These have been tested on both architectures.

ftruncate/ftruncate64 is needed for the f90 spec2k benchmarks.
src/arch/x86/linux/syscalls.cc