Removed bits from kernel where pager utcb is set.

Pagers now set their own utcb explicitly via exchange_registers.
exregs accepts calls from active pagers for this purpose only.
This commit is contained in:
Bahadir Balban
2009-10-18 15:01:38 +03:00
parent 7ba7a2e796
commit 2bd3266498
11 changed files with 79 additions and 58 deletions

View File

@@ -274,7 +274,7 @@ static inline void context_switch(struct ktcb *next)
arch_hardware_flush(TASK_PGD(next));
/* Update utcb region for next task */
task_update_utcb(cur, next);
task_update_utcb(next);
/* Switch context */
arch_switch(cur, next);