diff options
author | briggs <briggs@cvs.openbsd.org> | 1997-04-08 13:56:00 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1997-04-08 13:56:00 +0000 |
commit | 18765111aba1a3eb43303f2969c61f1557cf3f77 (patch) | |
tree | 6eb826136031495e86e3d1c68f744e6e2dfbd3b0 /sys/arch/mac68k | |
parent | 8b76760e56dda7a4e3271fd04eb1d73aa2445909 (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.c | 6 |
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; |