From: Gabe Black Date: Tue, 3 Dec 2019 10:43:33 +0000 (-0800) Subject: sparc: Fix the getresuidFunc prototype. X-Git-Tag: v19.0.0.0~232 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f135fc9cbe2adecfe0f5a5120fc2c4765390ef75;p=gem5.git 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 Maintainer: Gabe Black Tested-by: kokoro --- 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__