Use td->td_sticks, not td->td_kse->ke_sticks.
Forgotten by: davidxu
This commit is contained in:
parent
7b180a30e1
commit
8519f3983c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user