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/hp300 | |
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/hp300')
-rw-r--r-- | sys/arch/hp300/hp300/trap.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/hp300/hp300/trap.c b/sys/arch/hp300/hp300/trap.c index b858e3925d8..591973cd303 100644 --- a/sys/arch/hp300/hp300/trap.c +++ b/sys/arch/hp300/hp300/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.31 2001/11/06 19:53:14 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.32 2001/11/25 17:15:19 miod Exp $ */ /* $NetBSD: trap.c,v 1.57 1998/02/16 20:58:31 thorpej Exp $ */ /* @@ -119,9 +119,6 @@ void dumpssw __P((u_short)); void dumpwb __P((int, u_short, u_int, u_int)); #endif -void userret __P((struct proc *p, struct frame *fp, - u_quad_t oticks, u_int faultaddr, int fromtrap)); - int astpending; char *trap_type[] = { @@ -1162,7 +1159,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]); |