unified: Add tickless idle support for ARC

Change-Id: I89684e7bee379be0a18f64e4f2c39ae132fe7e6d
Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
This commit is contained in:
Dmitriy Korovkin 2016-10-12 11:09:58 -04:00 committed by Anas Nashif
commit dc76dbf2ef
2 changed files with 24 additions and 2 deletions

View file

@ -176,11 +176,12 @@ void _timer_int_handler(void *unused)
timer_count <= (cycles_per_tick - 1),
"timer_count: %d, limit %d\n", timer_count, cycles_per_tick - 1);
_sys_idle_elapsed_ticks = 1;
_sys_clock_final_tick_announce();
#else
_sys_clock_tick_announce();
#endif
update_accumulated_count();
_sys_clock_tick_announce();
}
#if defined(CONFIG_TICKLESS_IDLE)