From e8efa7328e487806fb77d3ec54bf5fa5f8b017ed Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 1 Feb 2003 12:17:09 +0000 Subject: Reversion of commit by Davidxu plus fixes since applied. I'm not convinced there is anything major wrong with the patch but them's the rules.. I am using my "David's mentor" hat to revert this as he's offline for a while. --- sys/amd64/include/mptable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/amd64/include/mptable.h') diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index 323a0fb..39d10d6 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -2611,7 +2611,8 @@ forwarded_statclock(struct trapframe frame) { mtx_lock_spin(&sched_lock); - statclock_process(curthread, TRAPF_PC(&frame), TRAPF_USERMODE(&frame)); + statclock_process(curthread->td_kse, TRAPF_PC(&frame), + TRAPF_USERMODE(&frame)); mtx_unlock_spin(&sched_lock); } -- cgit v1.1