Skip to content

Commit

Permalink
Update interrupt.h
Browse files Browse the repository at this point in the history
Signed-off-by: DINESHKUMAR <[email protected]>
  • Loading branch information
DINESHKUMARK1 authored Oct 15, 2024
1 parent 4e6cb19 commit d1232e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zephyr/include/rtos/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ 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_IMX) && !defined(CONFIG_IMX8M)) || defined(CONFIG_AMD)
defined(CONFIG_ZEPHYR_POSIX) || (defined(CONFIG_IMX) && !defined(CONFIG_IMX8M))
|| defined(CONFIG_AMD)
return irq;
#else
if (cascade == irq_name_level2)
Expand Down

0 comments on commit d1232e8

Please sign in to comment.