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
This commit is contained in:
parent
24adaab477
commit
096068b976
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367430
@ -59,10 +59,11 @@ struct mdproc {
|
|||||||
#define KINFO_PROC_SIZE 816
|
#define KINFO_PROC_SIZE 816
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define MAXARGS 8
|
||||||
struct syscall_args {
|
struct syscall_args {
|
||||||
u_int code;
|
u_int code;
|
||||||
struct sysent *callp;
|
struct sysent *callp;
|
||||||
register_t args[10];
|
register_t args[MAXARGS];
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
|
Loading…
Reference in New Issue
Block a user