mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
fix(ke): fix stupid spinlock bug
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user