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

2
arch

@ -1 +1 @@
Subproject commit e942051057f9e7e71e0adb29b2d9a67f98fc205b
Subproject commit b025eeaa21ef4cf9e1fc0279183b02d45790bb7f

@ -1 +1 @@
Subproject commit c5d86a886c2f384f427b2dab78de610e8076c680
Subproject commit a619d398029baac7d2246f9beaa0b3c6fe9b1d2c

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: