xref: /linux/arch/riscv/include/asm/irq_work.h (revision 06d07429858317ded2db7986113a9e0129cd599b)
129844792SGreentime Hu /* SPDX-License-Identifier: GPL-2.0 */
229844792SGreentime Hu #ifndef _ASM_RISCV_IRQ_WORK_H
329844792SGreentime Hu #define _ASM_RISCV_IRQ_WORK_H
429844792SGreentime Hu 
arch_irq_work_has_interrupt(void)529844792SGreentime Hu static inline bool arch_irq_work_has_interrupt(void)
629844792SGreentime Hu {
722732728SSamuel Holland 	return IS_ENABLED(CONFIG_SMP);
829844792SGreentime Hu }
9*64bac5eaSArnd Bergmann 
1029844792SGreentime Hu #endif /* _ASM_RISCV_IRQ_WORK_H */
11