kernel.h: Header hygine, move clock/timer handling

The kernel.h file had a bunch of internal APIs for timeout/clock
handling mixed in.  Move these to sys_clock.h, which it always
included (in a weird location, so move THAT to kernel_includes.h with
everything else).

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2018-09-19 09:35:43 -07:00 committed by Anas Nashif
commit 0d1228af36
3 changed files with 115 additions and 116 deletions

View file

@ -33,5 +33,6 @@
#include <misc/printk.h>
#include <arch/cpu.h>
#include <misc/rb.h>
#include <sys_clock.h>
#endif /* ZEPHYR_INCLUDE_KERNEL_INCLUDES_H_ */