diff options
Diffstat (limited to 'kernel/features/proc.c')
-rw-r--r-- | kernel/features/proc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/features/proc.c b/kernel/features/proc.c index 6ddeb32..c972f1b 100644 --- a/kernel/features/proc.c +++ b/kernel/features/proc.c @@ -177,13 +177,13 @@ void proc_exit(struct proc *proc, struct regs *r, s32 status) free(proc); - proc_yield(r); + proc_yield(); } -void proc_yield(struct regs *r) +void proc_yield(void) { proc_reset_quantum(PROC(current)); - scheduler(r); + __asm__ volatile("int $127"); } struct proc *proc_make(enum proc_priv priv) |