Fix standard kse breakage of non-x86 platforms.
Pointy hat to: davidxu
This commit is contained in:
parent
ba07d97e62
commit
e3c5d56ff4
@ -71,8 +71,7 @@ tick_process(struct clockframe *cf)
|
||||
CTR1(KTR_CLK, "tick_process: AP, cpuid=%d", PCPU_GET(cpuid));
|
||||
mtx_lock_spin_flags(&sched_lock, MTX_QUIET);
|
||||
hardclock_process(curthread, CLKF_USERMODE(cf));
|
||||
statclock_process(curthread->td_kse, CLKF_PC(cf),
|
||||
CLKF_USERMODE(cf));
|
||||
statclock_process(curthread, CLKF_PC(cf), CLKF_USERMODE(cf));
|
||||
mtx_unlock_spin_flags(&sched_lock, MTX_QUIET);
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user