mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 16:23:16 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user