summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-08 13:56:00 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-08 13:56:00 +0000
commit18765111aba1a3eb43303f2969c61f1557cf3f77 (patch)
tree6eb826136031495e86e3d1c68f744e6e2dfbd3b0 /sys/arch/mac68k
parent8b76760e56dda7a4e3271fd04eb1d73aa2445909 (diff)
Clarify comment a bit and skip userret when flushing CPU caches in SunOS emul.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mac68k/mac68k/trap.c b/sys/arch/mac68k/mac68k/trap.c
index 9af660a38fe..5903f721450 100644
--- a/sys/arch/mac68k/mac68k/trap.c
+++ b/sys/arch/mac68k/mac68k/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.10 1997/04/08 02:53:27 gene Exp $ */
+/* $OpenBSD: trap.c,v 1.11 1997/04/08 13:55:59 briggs Exp $ */
/* $NetBSD: trap.c,v 1.46 1997/04/07 22:54:44 scottr Exp $ */
/*
@@ -464,13 +464,13 @@ copyfault:
/*
* SunOS uses Trap #2 for a "CPU cache flush"
* Just flush the on-chip caches and return.
- * XXX - Too bad NetBSD uses trap 2...
+ * XXX - Too bad m68k BSD uses trap 2...
*/
if (p->p_emul == &emul_sunos) {
ICIA();
DCIU();
/* get out fast */
- goto done;
+ return;
}
#endif
frame.f_sr &= ~PSL_T;