Date: Fri, 6 Nov 2020 19:27:28 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r367430 - head/sys/powerpc/include Message-ID: <202011061927.0A6JRSdr000309@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Fri Nov 6 19:27:27 2020 New Revision: 367430 URL: https://svnweb.freebsd.org/changeset/base/367430 Log: Make powerpc use MAXARGS (defined as 8) instead of hardcoding '10'. This brings its 'struct syscall_args' in sync with other architectures. Reviewed by: bdragon, jhibbits MFC after: 2 weeks Sponsored by: EPSRC Differential Revision: https://reviews.freebsd.org/D26605 Modified: head/sys/powerpc/include/proc.h Modified: head/sys/powerpc/include/proc.h ============================================================================== --- head/sys/powerpc/include/proc.h Fri Nov 6 19:19:51 2020 (r367429) +++ head/sys/powerpc/include/proc.h Fri Nov 6 19:27:27 2020 (r367430) @@ -59,10 +59,11 @@ struct mdproc { #define KINFO_PROC_SIZE 816 #endif +#define MAXARGS 8 struct syscall_args { u_int code; struct sysent *callp; - register_t args[10]; + register_t args[MAXARGS]; }; #ifdef _KERNEL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011061927.0A6JRSdr000309>