From feaf2f4b737a4011a9d6d376affb7973becb6458 Mon Sep 17 00:00:00 2001 From: Calvin Liang Date: Thu, 8 Dec 2022 19:19:08 -0800 Subject: [PATCH] Fix wakeup_remove --- kernel/wakeup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/wakeup.c b/kernel/wakeup.c index 49f6d6a4df..ceae8cb855 100644 --- a/kernel/wakeup.c +++ b/kernel/wakeup.c @@ -50,6 +50,7 @@ void wakeup_remove(struct dcb *dcb) dcb->wakeup_next->wakeup_prev = dcb->wakeup_prev; } dcb->wakeup_prev = dcb->wakeup_next = NULL; + dcb->wakeup_time = 0; } // No-Op if not in queue...