summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-02-17 02:19:58 +0000
committerjeff <jeff@FreeBSD.org>2003-02-17 02:19:58 +0000
commitaa384c931fc62f42246713400c2b6e5b5d446165 (patch)
tree2a35dbab1876c5ce91132e41356bc345d69fcd07 /sys/ia64
parentd6241fff35979f7d7518ca96ece7f192829bbf35 (diff)
downloadFreeBSD-src-aa384c931fc62f42246713400c2b6e5b5d446165.zip
FreeBSD-src-aa384c931fc62f42246713400c2b6e5b5d446165.tar.gz
- Move ke_sticks, ke_iticks, ke_uticks, ke_uu, ke_su, and ke_iu back into
the proc. These counters are only examined through calcru. Submitted by: davidxu Tested on: x86, alpha, UP/SMP
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/trap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index d0e4aa6..1ce7d4e 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -331,7 +331,7 @@ trap(int vector, int imm, struct trapframe *framep)
user = ((framep->tf_cr_ipsr & IA64_PSR_CPL) == IA64_PSR_CPL_USER);
if (user) {
- sticks = td->td_kse->ke_sticks;
+ sticks = td->td_sticks;
td->td_frame = framep;
if (td->td_ucred != p->p_ucred)
cred_update_thread(td);
@@ -792,7 +792,7 @@ syscall(int code, u_int64_t *args, struct trapframe *framep)
p = td->td_proc;
td->td_frame = framep;
- sticks = td->td_kse->ke_sticks;
+ sticks = td->td_sticks;
if (td->td_ucred != p->p_ucred)
cred_update_thread(td);
@@ -939,7 +939,7 @@ ia32_syscall(struct trapframe *framep)
*/
cnt.v_syscall++;
- sticks = td->td_kse->ke_sticks;
+ sticks = td->td_sticks;
td->td_frame = framep;
if (td->td_ucred != p->p_ucred)
cred_update_thread(td);
OpenPOWER on IntegriCloud