diff options
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r-- | sys/kern/kern_clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index fb4b4a6..6e99f24 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -172,14 +172,14 @@ hardclock(frame) itimerdecr(&pstats->p_timer[ITIMER_VIRTUAL], tick) == 0) { mtx_lock_spin(&sched_lock); p->p_sflag |= PS_ALRMPEND; - aston(); + aston(p); mtx_unlock_spin(&sched_lock); } if (timevalisset(&pstats->p_timer[ITIMER_PROF].it_value) && itimerdecr(&pstats->p_timer[ITIMER_PROF], tick) == 0) { mtx_lock_spin(&sched_lock); p->p_sflag |= PS_PROFPEND; - aston(); + aston(p); mtx_unlock_spin(&sched_lock); } } |