mirror of
https://github.com/apache/nuttx.git
synced 2026-08-31 14:13:04 +00:00
arch/x86_64: Fix up_timer compilation error
This commit fix up_timer compilation error. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
parent
e6548ead20
commit
d0779e0eef
1 changed files with 6 additions and 1 deletions
|
|
@ -76,7 +76,12 @@
|
|||
|
||||
extern unsigned long g_x86_64_timer_freq;
|
||||
|
||||
#ifndef CONFIG_SCHED_TICKLESS_ALARM
|
||||
static uint64_t g_goal_time;
|
||||
#else
|
||||
static struct timespec g_goal_time_ts;
|
||||
#endif
|
||||
|
||||
static uint64_t g_last_stop_time;
|
||||
static uint64_t g_start_tsc;
|
||||
static uint32_t g_timer_active;
|
||||
|
|
@ -336,7 +341,7 @@ void up_timer_expire(void)
|
|||
g_timer_active = 0;
|
||||
|
||||
up_mask_tmr();
|
||||
sched_timer_expiration();
|
||||
nxsched_timer_expiration();
|
||||
}
|
||||
|
||||
#else /* CONFIG_SCHED_TICKLESS_ALARM */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue