diff --git a/sched/timer.c b/sched/timer.c index e0d60c3..833d8ed 100644 --- a/sched/timer.c +++ b/sched/timer.c @@ -15,6 +15,8 @@ static void timeout_expiry(struct timer *timer) rq_lock(rq, &flags); rq_enqueue(rq, thread); rq_unlock(rq, flags); + + put_cpu(cpu); } void add_timer(struct timer *timer)