diff --git a/zephyr/include/rtos/interrupt.h b/zephyr/include/rtos/interrupt.h index 45ee4a1aa758..50dee3c9a37e 100644 --- a/zephyr/include/rtos/interrupt.h +++ b/zephyr/include/rtos/interrupt.h @@ -49,8 +49,7 @@ static inline void interrupt_unregister(uint32_t irq, const void *arg) static inline int interrupt_get_irq(unsigned int irq, const char *cascade) { #if defined(CONFIG_LIBRARY) || defined(CONFIG_ACE) || defined(CONFIG_CAVS) || \ - defined(CONFIG_ZEPHYR_POSIX) || defined(CONFIG_ARM64) || \ - defined(CONFIG_IMX8) || defined(CONFIG_IMX8X) || defined(CONFIG_IMX8ULP) + defined(CONFIG_ZEPHYR_POSIX) || (defined(CONFIG_IMX) && !defined(CONFIG_IMX8M)) return irq; #else if (cascade == irq_name_level2)