From f135fc9cbe2adecfe0f5a5120fc2c4765390ef75 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 3 Dec 2019 02:43:33 -0800 Subject: [PATCH] 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 --- src/arch/sparc/linux/process.hh | 3 +-- 1 file changed, 1 insertion(+), 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__ -- 2.30.2