fix(ke): fix stupid spinlock bug

This commit is contained in:
Loïc Grégoire
2026-03-24 22:21:25 -04:00
parent 47ce377d1b
commit b3bcaeb683
+1 -1
View File
@@ -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.