summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-12-03 02:43:33 -0800
committerGabe Black <gabeblack@google.com>2019-12-04 04:29:50 +0000
commitf135fc9cbe2adecfe0f5a5120fc2c4765390ef75 (patch)
treefa5789b028549c741ab05fe52e7a3953b74397ce /src/arch
parentb99243360f10f73f64058741ca8f95047e980e4a (diff)
downloadgem5-f135fc9cbe2adecfe0f5a5120fc2c4765390ef75.tar.xz
sparc: Fix the getresuidFunc prototype.
When the syscall signature was changed to not take a Process pointer, the prototype for getresuidFunc was not updated. Change-Id: I887cc3e3aa8483fc608df9963876a0ac6fa2251d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23320 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/sparc/linux/process.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/sparc/linux/process.hh b/src/arch/sparc/linux/process.hh
index 778af1fda..f5260cdf1 100644
--- a/src/arch/sparc/linux/process.hh
+++ b/src/arch/sparc/linux/process.hh
@@ -89,8 +89,7 @@ class Sparc64LinuxProcess : public SparcLinuxProcess, public Sparc64Process
void handleTrap(int trapNum, ThreadContext *tc, Fault *fault);
};
-SyscallReturn getresuidFunc(SyscallDesc *desc, int num,
- Process *p, ThreadContext *tc);
+SyscallReturn getresuidFunc(SyscallDesc *desc, int num, ThreadContext *tc);
} // namespace SparcISA
#endif // __SPARC_LINUX_PROCESS_HH__