kernel: Combine nano_timers and nano_timeouts

To avoid code duplication nano_timers use nano_timeout
mechanism.

Change-Id: I916bffd2b86e29ee7b7ff7bbb009cd4c844e2a44
Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
This commit is contained in:
Dmitriy Korovkin 2016-03-10 11:18:05 -05:00 committed by Anas Nashif
commit 9b2452047d
13 changed files with 333 additions and 201 deletions

View file

@ -91,7 +91,6 @@ extern int sys_clock_hw_cycles_per_tick;
#define SYS_CLOCK_HW_CYCLES_TO_NS(X) (uint32_t)(SYS_CLOCK_HW_CYCLES_TO_NS64(X))
extern int64_t _sys_clock_tick_count;
extern struct nano_timer *_nano_timer_list;
/*
* Number of ticks for x seconds. NOTE: With MSEC(), since it does an integer