x86 lo-apic timer _sys_clock_tick_announce call.
This commit fixes the calling of the function _sys_clock_tick_announce from the x86 lo-apic timer. This call was used wrongly, using the old convention: __sys_clock_tick_announce Change-Id: I5417efe1efcb94925bd4bebbb3b91b491349c26e Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
parent
5f9042e6c1
commit
19f4eccb4a
1 changed files with 5 additions and 5 deletions
|
@ -331,7 +331,7 @@ void _timer_int_handler(void *unused /* parameter is not used */
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (_sys_idle_elapsed_ticks == 1) {
|
if (_sys_idle_elapsed_ticks == 1) {
|
||||||
__sys_clock_tick_announce();
|
_sys_clock_tick_announce();
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
@ -339,13 +339,13 @@ void _timer_int_handler(void *unused /* parameter is not used */
|
||||||
clock_accumulated_count += counterLoadVal;
|
clock_accumulated_count += counterLoadVal;
|
||||||
|
|
||||||
#if defined(CONFIG_MICROKERNEL)
|
#if defined(CONFIG_MICROKERNEL)
|
||||||
__sys_clock_tick_announce();
|
_sys_clock_tick_announce();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /*TIMER_SUPPORTS_TICKLESS*/
|
#endif /*TIMER_SUPPORTS_TICKLESS*/
|
||||||
|
|
||||||
#if defined(CONFIG_NANOKERNEL)
|
#if defined(CONFIG_NANOKERNEL)
|
||||||
__sys_clock_tick_announce();
|
_sys_clock_tick_announce();
|
||||||
#endif /* CONFIG_NANOKERNEL */
|
#endif /* CONFIG_NANOKERNEL */
|
||||||
|
|
||||||
#ifdef LOAPIC_TIMER_PERIODIC_WORKAROUND
|
#ifdef LOAPIC_TIMER_PERIODIC_WORKAROUND
|
||||||
|
@ -515,7 +515,7 @@ void _timer_idle_exit(void)
|
||||||
* is
|
* is
|
||||||
* serviced.
|
* serviced.
|
||||||
*/
|
*/
|
||||||
__sys_clock_tick_announce();
|
_sys_clock_tick_announce();
|
||||||
} else {
|
} else {
|
||||||
uint32_t elapsed; /* elapsed "counter time" */
|
uint32_t elapsed; /* elapsed "counter time" */
|
||||||
uint32_t remaining; /* remaining "counter time" */
|
uint32_t remaining; /* remaining "counter time" */
|
||||||
|
@ -538,7 +538,7 @@ void _timer_idle_exit(void)
|
||||||
_sys_idle_elapsed_ticks = elapsed / counterLoadVal;
|
_sys_idle_elapsed_ticks = elapsed / counterLoadVal;
|
||||||
|
|
||||||
if (_sys_idle_elapsed_ticks) {
|
if (_sys_idle_elapsed_ticks) {
|
||||||
__sys_clock_tick_announce();
|
_sys_clock_tick_announce();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_loApicTimerStart();
|
_loApicTimerStart();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue