diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-11-25 17:15:22 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-11-25 17:15:22 +0000 |
commit | 303f90a786dd71a429859642caf95e25ef1a4888 (patch) | |
tree | 6ee22e33e3f293d231d66537a8515d9edbcaee83 /sys/arch/mvme68k | |
parent | 7cc59fc55a631022296b3de379370d2cebb5c5d4 (diff) |
Harmonize userret() prototypes across m68k arches.
XXX The userret() code is not factorized out yet, as this will require
XXX insane amiga cleaning work.
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/trap.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/mvme68k/mvme68k/trap.c b/sys/arch/mvme68k/mvme68k/trap.c index c19dc60822d..be45d95f887 100644 --- a/sys/arch/mvme68k/mvme68k/trap.c +++ b/sys/arch/mvme68k/mvme68k/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.37 2001/11/06 19:53:15 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.38 2001/11/25 17:15:20 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -168,9 +168,6 @@ u_char next_sir; int writeback __P((struct frame *fp, int docachepush)); -void userret __P((struct proc *p, struct frame *fp, - u_quad_t oticks, u_int faultaddr, int fromtrap)); - /* * trap and syscall both need the following work done before returning * to user mode. @@ -1096,7 +1093,7 @@ bad: if (error == ERESTART && (p->p_md.md_flags & MDP_STACKADJ)) frame.f_regs[SP] -= sizeof (int); #endif - userret(p, &frame, sticks, (u_int)0, 0); + userret(p, &frame, sticks, 0, 0); #ifdef KTRACE if (KTRPOINT(p, KTR_SYSRET)) ktrsysret(p, code, error, rval[0]); |