Same important bug as c623af03a0ee8ac041fc22051781047d6cb9cc75, but in a different location

This commit is contained in:
Gregory Nutt
2015-12-09 10:17:33 -06:00
parent 208b4643ce
commit c9925305b5
3 changed files with 3 additions and 3 deletions
+1 -1
Submodule arch updated: e942051057...b025eeaa21
+1 -1
Submodule configs updated: c5d86a886c...a619d39802
+1 -1
View File
@@ -132,7 +132,7 @@ int sched_setscheduler(pid_t pid, int policy,
/* Further, disable timer interrupts while we set up scheduling policy. */
saved_state = irqsave();
tcb->flags &= TCB_FLAG_POLICY_MASK;
tcb->flags &= ~TCB_FLAG_POLICY_MASK;
switch (policy)
{
default: