Sigh, statclock_process() takes a KSE instead of a thread for its first

argument.
This commit is contained in:
jhb 2001-10-01 22:26:47 +00:00
parent c87fdd521d
commit fb7fca45bb

View File

@ -476,7 +476,7 @@ alpha_clock_interrupt(struct trapframe *framep)
mtx_lock_spin(&sched_lock); mtx_lock_spin(&sched_lock);
hardclock_process(curthread, TRAPF_USERMODE(framep)); hardclock_process(curthread, TRAPF_USERMODE(framep));
if ((schedclk2 & 0x7) == 0) if ((schedclk2 & 0x7) == 0)
statclock_process(curthread, TRAPF_PC(framep), statclock_process(curkse, TRAPF_PC(framep),
TRAPF_USERMODE(framep)); TRAPF_USERMODE(framep));
mtx_unlock_spin(&sched_lock); mtx_unlock_spin(&sched_lock);
} }