Nucleus
Barry Virtual Memory Regions and namespace 381dc7b (3 years, 3 months ago)diff --git a/task/scheduler.c b/task/scheduler.c index 5cb1440..3a9605c 100644 --- a/task/scheduler.c +++ b/task/scheduler.c @@ -28,7 +28,7 @@ switch_to_task(Task *task) } /* Switch to new context */ - current = task; /* Use the passed reference */ + current = task; /* Given reference, so no get() */ asm volatile ( "cli;" "movl %0, %%ecx;"