summaryrefslogtreecommitdiff
path: root/src/kernel/arch
diff options
context:
space:
mode:
authordzwdz2023-09-13 00:05:06 +0200
committerdzwdz2023-09-13 00:05:06 +0200
commitc9fbab701ff57583733c84fa93889eacf422b861 (patch)
tree7a15a77a97d7965782fb81c80f9536f5d1911f3b /src/kernel/arch
parent1e54db260811d0d759e76be725d50f4b59d0fc41 (diff)
cmd/init: remove /initctl, use intr instead
Diffstat (limited to 'src/kernel/arch')
-rw-r--r--src/kernel/arch/amd64/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/time.c b/src/kernel/arch/amd64/time.c
index aa7603c..f4fa744 100644
--- a/src/kernel/arch/amd64/time.c
+++ b/src/kernel/arch/amd64/time.c
@@ -48,6 +48,7 @@ void timer_deschedule(Proc *p) {
assert(*slot);
*slot = p->waits4timer.next;
+ proc_setstate(p, PS_RUNNING);
update_goal();
}