summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-23 17:40:06 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-23 17:40:06 +0000
commit3c96961c46af3bc3077044bc61657f4476da1bd6 (patch)
tree4a7cb3d9c568f2aa00d794c23f4351abf4d85741 /sys
parent419150484f58f440a7662da130356d1e7a254ee1 (diff)
adapt to how our scheduler works.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/trap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/trap.c b/sys/arch/sparc64/sparc64/trap.c
index aee21b33bff..f040ce9e228 100644
--- a/sys/arch/sparc64/sparc64/trap.c
+++ b/sys/arch/sparc64/sparc64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.3 2001/08/20 20:23:53 jason Exp $ */
+/* $OpenBSD: trap.c,v 1.4 2001/08/23 17:40:05 art Exp $ */
/* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */
/*
@@ -452,7 +452,11 @@ userret(p, pc, oticks)
if (p->p_flag & P_PROFIL)
addupc_task(p, pc, (int)(p->p_sticks - oticks));
+#ifdef notyet
curcpu()->ci_schedstate.spc_curpriority = p->p_priority;
+#else
+ curpriority = p->p_priority;
+#endif
}
/*