summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/mvme68k/trap.c7
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]);