Use td->td_sticks, not td->td_kse->ke_sticks.

Forgotten by:	davidxu
This commit is contained in:
Benno Rice 2003-01-27 04:26:09 +00:00
parent 7b180a30e1
commit 8519f3983c
2 changed files with 2 additions and 2 deletions
sys/powerpc
aim
powerpc

@ -169,7 +169,7 @@ trap(struct trapframe *frame)
trapname(type), user ? "user" : "kernel");
if (user) {
sticks = td->td_kse->ke_sticks;
sticks = td->td_sticks;
td->td_frame = frame;
if (td->td_ucred != p->p_ucred)
cred_update_thread(td);

@ -169,7 +169,7 @@ trap(struct trapframe *frame)
trapname(type), user ? "user" : "kernel");
if (user) {
sticks = td->td_kse->ke_sticks;
sticks = td->td_sticks;
td->td_frame = frame;
if (td->td_ucred != p->p_ucred)
cred_update_thread(td);