stage2/irq.c | raw changeset files shortlog |
1.1 --- a/stage2/irq.c Tue Mar 01 00:50:20 2016 +0100 1.2 +++ b/stage2/irq.c Tue Mar 01 00:55:13 2016 +0100 1.3 @@ -147,7 +147,7 @@ 1.4 /* Switch the current task. */ 1.5 1.6 current_task++; 1.7 - if (current_task == max_tasks) current_task = 1; 1.8 + if (current_task == max_tasks) current_task = 0; 1.9 1.10 /* Indicate the current stack pointer and task registers. */ 1.11