Unbreak SMP cases for these architectures.
statclock_process() changed arguments. note: it may be worth checking if curkse is needed on these architectures.. (and if so, why?)
This commit is contained in:
parent
12e7186b53
commit
d159ba4aa7
@ -479,7 +479,7 @@ alpha_clock_interrupt(struct trapframe *framep)
|
||||
mtx_lock_spin(&sched_lock);
|
||||
hardclock_process(curthread, TRAPF_USERMODE(framep));
|
||||
if ((schedclk2 & 0x7) == 0)
|
||||
statclock_process(curkse, TRAPF_PC(framep),
|
||||
statclock_process(curthread, TRAPF_PC(framep),
|
||||
TRAPF_USERMODE(framep));
|
||||
mtx_unlock_spin(&sched_lock);
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ interrupt(u_int64_t vector, struct trapframe *framep)
|
||||
mtx_lock_spin(&sched_lock);
|
||||
hardclock_process(curthread, TRAPF_USERMODE(framep));
|
||||
if ((schedclk2 & 0x7) == 0)
|
||||
statclock_process(curkse, TRAPF_PC(framep),
|
||||
statclock_process(curthread, TRAPF_PC(framep),
|
||||
TRAPF_USERMODE(framep));
|
||||
mtx_unlock_spin(&sched_lock);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user