Merge pull request #4112 from enkiller/1203-0940
[timer] Fix the bug that the linked list is still mounted when the si…
This commit is contained in:
commit
9971067f49
|
@ -575,7 +575,7 @@ void rt_timer_check(void)
|
|||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
rt_list_remove(&(t->row[RT_TIMER_SKIP_LIST_LEVEL - 1]));
|
||||
if ((t->parent.flag & RT_TIMER_FLAG_PERIODIC) &&
|
||||
(t->parent.flag & RT_TIMER_FLAG_ACTIVATED))
|
||||
{
|
||||
|
@ -663,7 +663,7 @@ void rt_soft_timer_check(void)
|
|||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
rt_list_remove(&(t->row[RT_TIMER_SKIP_LIST_LEVEL - 1]));
|
||||
if ((t->parent.flag & RT_TIMER_FLAG_PERIODIC) &&
|
||||
(t->parent.flag & RT_TIMER_FLAG_ACTIVATED))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue