clock: z_clock_isr -> sys_clock_isr

Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2021-03-13 08:02:16 -05:00
commit 771cc9705c
4 changed files with 8 additions and 8 deletions

View file

@ -35,7 +35,7 @@ static uint32_t last_load;
/*
* This local variable holds the amount of SysTick HW cycles elapsed
* and it is updated in z_clock_isr() and sys_clock_set_timeout().
* and it is updated in sys_clock_isr() and sys_clock_set_timeout().
*
* Note:
* At an arbitrary point in time the "current" value of the SysTick
@ -113,7 +113,7 @@ static uint32_t elapsed(void)
}
/* Callout out of platform assembly, not hooked via IRQ_CONNECT... */
void z_clock_isr(void *arg)
void sys_clock_isr(void *arg)
{
ARG_UNUSED(arg);
uint32_t dticks;

View file

@ -16,9 +16,9 @@
#include <init.h>
#include <drivers/timer/system_timer.h>
/* Weak-linked noop defaults for optional driver interfaces: */
/* Weak-linked noop defaults for optional driver interfaces*/
void __weak z_clock_isr(void *arg)
void __weak sys_clock_isr(void *arg)
{
__ASSERT_NO_MSG(false);
}