xref: /linux/arch/loongarch/include/asm/irq_work.h (revision 53597deca0e38c30e6cd4ba2114fa42d2bcd85bb)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_LOONGARCH_IRQ_WORK_H
3 #define _ASM_LOONGARCH_IRQ_WORK_H
4 
5 static inline bool arch_irq_work_has_interrupt(void)
6 {
7 	return IS_ENABLED(CONFIG_SMP) && cpu_opt(LOONGARCH_CPU_CSRIPI);
8 }
9 
10 #endif /* _ASM_LOONGARCH_IRQ_WORK_H */
11