1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_RISCV_IRQ_WORK_H 3 #define _ASM_RISCV_IRQ_WORK_H 4 arch_irq_work_has_interrupt(void)5static inline bool arch_irq_work_has_interrupt(void) 6 { 7 return IS_ENABLED(CONFIG_SMP); 8 } 9 10 #endif /* _ASM_RISCV_IRQ_WORK_H */ 11