summaryrefslogtreecommitdiffstats
path: root/sys/alpha
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/alpha
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/alpha')
-rw-r--r--sys/alpha/alpha/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c
index 6c554f7..e1e8f99 100644
--- a/sys/alpha/alpha/trap.c
+++ b/sys/alpha/alpha/trap.c
@@ -296,7 +296,7 @@ trap(a0, a1, a2, entry, framep)
CTR5(KTR_TRAP, "%s trap: pid %d, (%lx, %lx, %lx)",
user ? "user" : "kernel", p->p_pid, a0, a1, a2);
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);
@@ -666,7 +666,7 @@ syscall(code, framep)
cnt.v_syscall++;
td->td_frame = framep;
opc = framep->tf_regs[FRAME_PC] - 4;
- sticks = td->td_kse->ke_sticks;
+ sticks = td->td_sticks;
if (td->td_ucred != p->p_ucred)
cred_update_thread(td);
if (p->p_flag & P_KSES)
OpenPOWER on IntegriCloud