summaryrefslogtreecommitdiff
path: root/sys/arch/atari
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/atari
parent8b76760e56dda7a4e3271fd04eb1d73aa2445909 (diff)
Clarify comment a bit and skip userret when flushing CPU caches in SunOS emul.
Diffstat (limited to 'sys/arch/atari')
-rw-r--r--sys/arch/atari/atari/trap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/atari/atari/trap.c b/sys/arch/atari/atari/trap.c
index 9055e0afb6c..d650a031159 100644
--- a/sys/arch/atari/atari/trap.c
+++ b/sys/arch/atari/atari/trap.c
@@ -617,13 +617,12 @@ trap(type, code, v, frame)
/*
* SunOS uses Trap #2 for a "CPU cache flush"
* Just flush the on-chip caches and return.
- * XXX - Too bad OpenBSD uses trap 2...
+ * XXX - Too bad m68k BSD uses trap 2...
*/
if (p->p_emul == &emul_sunos) {
ICIA();
DCIU();
/* get out fast */
- userret(p, frame.f_pc, sticks);
return;
#endif
frame.f_sr &= ~PSL_T;