diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2004-06-22 01:16:51 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2004-06-22 01:16:51 +0000 |
commit | b867d3bf3e2c58679d9e9b015e5c0681960246ba (patch) | |
tree | 04cfa97f3e6c728503f131fbde87b8e1caeca1ac /sys/arch/amd64/include/userret.h | |
parent | 02a7c0805e8a7a257c55e031889f3dd3c5794614 (diff) |
Switch amd64 to __HAVE_CPUINFO
deraadt@ ok
Diffstat (limited to 'sys/arch/amd64/include/userret.h')
-rw-r--r-- | sys/arch/amd64/include/userret.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/userret.h b/sys/arch/amd64/include/userret.h index 4422d1b25dd..8f5dd35892d 100644 --- a/sys/arch/amd64/include/userret.h +++ b/sys/arch/amd64/include/userret.h @@ -1,4 +1,4 @@ -/* $OpenBSD: userret.h,v 1.1 2004/01/28 01:39:39 mickey Exp $ */ +/* $OpenBSD: userret.h,v 1.2 2004/06/22 01:16:50 art Exp $ */ /* $NetBSD: userret.h,v 1.1 2003/04/26 18:39:49 fvdl Exp $ */ /* @@ -95,5 +95,5 @@ userret(struct proc *p) while ((sig = CURSIG(p)) != 0) postsig(sig); - curpriority = p->p_priority = p->p_usrpri; + curcpu()->ci_schedstate.spc_curpriority = p->p_priority = p->p_usrpri; } |