tests/kernel/context: correct the way to get IRQ number of APIC TSC Timer
This case fails to build on boards having APIC TSC timer enabled. This change is needed after moving APIC TSC timer support from apic_timer.c to apic_tsc.c. Signed-off-by: Dong Wang <dong.d.wang@intel.com>
This commit is contained in:
parent
8aab3ca39d
commit
f61b8f9fd2
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
* is not defined in platform, generate an error
|
* is not defined in platform, generate an error
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_APIC_TSC_DEADLINE_TIMER)
|
#if defined(CONFIG_APIC_TSC_DEADLINE_TIMER) || defined(CONFIG_APIC_TIMER_TSC)
|
||||||
#define TICK_IRQ z_loapic_irq_base() /* first LVT interrupt */
|
#define TICK_IRQ z_loapic_irq_base() /* first LVT interrupt */
|
||||||
#elif defined(CONFIG_CPU_CORTEX_M)
|
#elif defined(CONFIG_CPU_CORTEX_M)
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue