Hide the 'MOREARGS' macro, it conflicts with contrib code, and is only used in one file.
PR: 211818 Reported by: Mark Millard <markmi AT dsl-only.net> MFC after: 2 weeks
This commit is contained in:
parent
e334d5bd3f
commit
3e7e31bda0
@ -109,7 +109,5 @@ struct callframe {
|
||||
/* Definitions for syscalls */
|
||||
#define FIRSTARG 3 /* first arg in reg 3 */
|
||||
#define NARGREG 8 /* 8 args in regs */
|
||||
#define MOREARGS(sp) ((caddr_t)((uintptr_t)(sp) + \
|
||||
sizeof(struct callframe) - 3*sizeof(register_t))) /* more args go here */
|
||||
|
||||
#endif /* _MACHINE_FRAME_H_ */
|
||||
|
@ -80,6 +80,9 @@ __FBSDID("$FreeBSD$");
|
||||
#define FAULTBUF_CR 22
|
||||
#define FAULTBUF_R14 3
|
||||
|
||||
#define MOREARGS(sp) ((caddr_t)((uintptr_t)(sp) + \
|
||||
sizeof(struct callframe) - 3*sizeof(register_t))) /* more args go here */
|
||||
|
||||
static void trap_fatal(struct trapframe *frame);
|
||||
static void printtrap(u_int vector, struct trapframe *frame, int isfatal,
|
||||
int user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user