Fix standard kse breakage of non-x86 platforms.
Pointy hat to: davidxu
This commit is contained in:
parent
ba07d97e62
commit
e3c5d56ff4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109910
@ -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