diff options
author | 2001-08-23 17:40:05 +0000 | |
---|---|---|
committer | 2001-08-23 17:40:05 +0000 | |
commit | f850e0ff9f306d2576f080f16af13a7eedf84ed5 (patch) | |
tree | 5531c79457614b0a74a1b09d54fca688011e9ba0 | |
parent | Add show_scsipi_xs and show_scsipi_cmd. Closes PR#2008 (diff) | |
download | wireguard-openbsd-f850e0ff9f306d2576f080f16af13a7eedf84ed5.tar.xz wireguard-openbsd-f850e0ff9f306d2576f080f16af13a7eedf84ed5.zip |
adapt to how our scheduler works.
-rw-r--r-- | sys/arch/sparc64/sparc64/trap.c | 6 |
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 } /* |