arch-x86: Enable fstatfs for x86_64
authorTony Gutierrez <anthony.gutierrez@amd.com>
Thu, 3 May 2018 18:00:00 +0000 (14:00 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Thu, 3 May 2018 18:04:26 +0000 (18:04 +0000)
Change-Id: Ic871f852c4892f2228f0d9bb3cc5cb66887d9736
Reviewed-on: https://gem5-review.googlesource.com/10201
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/arch/x86/linux/process.cc

index d464beb911839df04c218deaadacfe604faeb87c..7993b80f5c333f1f6867feadfe7aa740e2a754ec 100644 (file)
@@ -358,7 +358,7 @@ static SyscallDesc syscallDescs64[] = {
     /* 135 */ SyscallDesc("personality", unimplementedFunc),
     /* 136 */ SyscallDesc("ustat", unimplementedFunc),
     /* 137 */ SyscallDesc("statfs", statfsFunc<X86Linux64>),
-    /* 138 */ SyscallDesc("fstatfs", unimplementedFunc),
+    /* 138 */ SyscallDesc("fstatfs", fstatfsFunc<X86Linux64>),
     /* 139 */ SyscallDesc("sysfs", unimplementedFunc),
     /* 140 */ SyscallDesc("getpriority", unimplementedFunc),
     /* 141 */ SyscallDesc("setpriority", ignoreFunc),