drivers/timer/hpet: Add noop SMP initialization function
This is intended to initialize CPU-local timer devices, but HPET is global so we have nothing to do. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
c9cba3a032
commit
0a2d2413e0
1 changed files with 8 additions and 0 deletions
|
@ -98,6 +98,14 @@ int z_clock_driver_init(struct device *device)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void smp_timer_init(void)
|
||||
{
|
||||
/* Noop, the HPET is a single system-wide device and it's
|
||||
* configured to deliver interrupts to every CPU, so there's
|
||||
* nothing to do at initialization on auxiliary CPUs.
|
||||
*/
|
||||
}
|
||||
|
||||
void z_clock_set_timeout(s32_t ticks, bool idle)
|
||||
{
|
||||
ARG_UNUSED(idle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue