mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
add missing macro "per_core" to get access to timer_ticks
This commit is contained in:
parent
083c44439c
commit
a003ee223f
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ static void timer_handler(struct state *s)
|
|||
|
||||
int timer_wait(unsigned int ticks)
|
||||
{
|
||||
uint64_t eticks = timer_ticks + ticks;
|
||||
uint64_t eticks = per_core(timer_ticks) + ticks;
|
||||
|
||||
task_t* curr_task = per_core(current_task);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue