fix schedrelease() syscall

This commit is contained in:
2025-10-04 01:12:03 +02:00
parent 071f414f07
commit b72f3ee00d

View File

@ -7,11 +7,5 @@
#include "hal/hal.h" #include "hal/hal.h"
int32_t SYSCALL0(sys_schedrelease) { int32_t SYSCALL0(sys_schedrelease) {
spinlock_acquire(&PROCS.spinlock); return E_DOSCHEDULING;
Proc *proc = PROCS.current;
spinlock_release(&PROCS.spinlock);
/* proc_sched((void *)frame); */
return E_OK;
} }