timer: fix incorrect nano_fiber_lifo_put in ISR
The correct call is nano_isr_lifo_put, but they are aliases of each other, so that never caused an issue at runtime. Change-Id: Ibec8e6d3377133e5e67589c5a3ad1b8fb3cc652c Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
8678e3a9a8
commit
0c798772cc
|
@ -160,7 +160,7 @@ void _timer_int_handler(void *unused)
|
|||
struct nano_lifo *lifo = &expired->lifo;
|
||||
|
||||
_nano_timer_list = expired->link;
|
||||
nano_fiber_lifo_put(lifo, expired->userData);
|
||||
nano_isr_lifo_put(lifo, expired->userData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -350,7 +350,7 @@ void _timer_int_handler(void *unused)
|
|||
struct nano_timer *expired = _nano_timer_list;
|
||||
struct nano_lifo *chan = &expired->lifo;
|
||||
_nano_timer_list = expired->link;
|
||||
nano_fiber_lifo_put(chan, expired->userData);
|
||||
nano_isr_lifo_put(chan, expired->userData);
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_MICROKERNEL */
|
||||
|
|
|
@ -356,7 +356,7 @@ void _timer_int_handler(void *unused /* parameter is not used */
|
|||
struct nano_timer *expired = _nano_timer_list;
|
||||
struct nano_lifo *chan = &expired->lifo;
|
||||
_nano_timer_list = expired->link;
|
||||
nano_fiber_lifo_put(chan, expired->userData);
|
||||
nano_isr_lifo_put(chan, expired->userData);
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_NANOKERNEL */
|
||||
|
|
|
@ -325,7 +325,7 @@ void _timer_int_handler(void *unusedArg /* not used */
|
|||
struct nano_timer *expired = _nano_timer_list;
|
||||
struct nano_lifo *chan = &expired->lifo;
|
||||
_nano_timer_list = expired->link;
|
||||
nano_fiber_lifo_put(chan, expired->userData);
|
||||
nano_isr_lifo_put(chan, expired->userData);
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_NANOKERNEL */
|
||||
|
|
Loading…
Reference in a new issue