aarch64: Remove comparison with GIC-specific intid
GIC_INTID_SPURIOUS is a GIC-specific intid so it's not valid for custom interrupt controllers. Rework a bit the logic by comparing the intid to the maximum intid possible instead. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
23a0c8c2ec
commit
9dd2731d15
1 changed files with 3 additions and 3 deletions
|
@ -46,9 +46,9 @@ SECTION_FUNC(TEXT, _isr_wrapper)
|
|||
bl z_soc_irq_get_active
|
||||
#endif /* !CONFIG_ARM_CUSTOM_INTERRUPT_CONTROLLER */
|
||||
|
||||
/* Spurious */
|
||||
cmp x0, #(GIC_INTID_SPURIOUS)
|
||||
beq spurious_continue
|
||||
/* IRQ out of bounds */
|
||||
cmp x0, #(CONFIG_NUM_IRQS - 1)
|
||||
b.hi spurious_continue
|
||||
|
||||
stp x0, xzr, [sp, #-16]!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue