From b3bcaeb683961709e3779b5cf12c8f7728c4f6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gr=C3=A9goire?= Date: Tue, 24 Mar 2026 22:21:25 -0400 Subject: [PATCH] fix(ke): fix stupid spinlock bug --- src/kern/spinlock.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kern/spinlock.zig b/src/kern/spinlock.zig index d203904..e1f62aa 100644 --- a/src/kern/spinlock.zig +++ b/src/kern/spinlock.zig @@ -26,8 +26,8 @@ pub const SpinLock = struct { /// Release the lock at IPL `ipl`. pub fn release(self: *SpinLock, ipl: ke.Ipl) void { - ke.ipl.lower(ipl); self.release_no_ipl(); + ke.ipl.lower(ipl); } /// Acquire the lock without changing the IPL.