1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Fix standard kse breakage of non-x86 platforms.

Pointy hat to:	davidxu
This commit is contained in:
Jake Burkholder 2003-01-26 23:52:45 +00:00
parent ba07d97e62
commit e3c5d56ff4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=109910

View File

@ -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