1 /* 2 * Copyright (c) 2022 Synopsys. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_ARCH_ARC_INCLUDE_ARC_IRQ_OFFLOAD_H_ 8 #define ZEPHYR_ARCH_ARC_INCLUDE_ARC_IRQ_OFFLOAD_H_ 9 10 #ifdef CONFIG_IRQ_OFFLOAD 11 arc_irq_offload_init_smp(void)12static inline void arc_irq_offload_init_smp(void) 13 { 14 arch_irq_offload_init(); 15 } 16 17 #else 18 arc_irq_offload_init_smp(void)19static inline void arc_irq_offload_init_smp(void) {} 20 21 #endif /* CONFIG_IRQ_OFFLOAD */ 22 23 #endif /* ZEPHYR_ARCH_ARC_INCLUDE_ARC_IRQ_OFFLOAD_H_ */ 24