resource_allocator: fix interrupt state leak

This commit is contained in:
Matheus
2026-05-11 12:09:07 -03:00
parent de54054142
commit c4dbf30716
+1
View File
@@ -39,6 +39,7 @@ size_t resource_allocate(resource_allocator_t *allocator, size_t count) {
sched_prepare_sleep(false);
spinlock_release(&allocator->spinlock);
sched_yield();
interrupt_set(status);
return count;
}